mirror of https://github.com/xemu-project/xemu.git
xemu-xbe.c: Increase header size threshold
This commit is contained in:
parent
a7f3f8f212
commit
0c64395114
|
@ -103,7 +103,7 @@ struct xbe *xemu_get_xbe_info(void)
|
|||
// Determine full length of headers
|
||||
xbe.headers_len = ldl_le_phys(&address_space_memory,
|
||||
hdr_addr_phys + offsetof(struct xbe_header, m_sizeof_headers));
|
||||
if (xbe.headers_len > 4*TARGET_PAGE_SIZE) {
|
||||
if (xbe.headers_len > 8*TARGET_PAGE_SIZE) {
|
||||
// Headers are unusually large
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue