Bug fix: Reading beyond array end for HFS+ production caused SIGSEGV with FreeBSD 11 CLANG -O2. Thanks ASX of GhostBSD.

This commit is contained in:
Thomas Schmitt 2017-09-22 17:26:02 +02:00
parent 874dc16d92
commit 53b2d6dcd7

View File

@ -422,6 +422,10 @@ static uint16_t class_page_data[] = {
0x21, 0x230, 0x21, 0x230,
0x22, 0x230, 0x22, 0x230,
0x23, 0x230, 0x23, 0x230,
0x00,
/* End of list */
0x00
}; };
uint16_t *hfsplus_class_pages[256]; uint16_t *hfsplus_class_pages[256];