Browse Source

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

tags/release-1.5.0
Thomas Schmitt 3 years ago
parent
commit
53b2d6dcd7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libisofs/hfsplus_classes.c

+ 4
- 0
libisofs/hfsplus_classes.c View File

@@ -422,6 +422,10 @@ static uint16_t class_page_data[] = {
0x21, 0x230,
0x22, 0x230,
0x23, 0x230,
0x00,

/* End of list */
0x00
};

uint16_t *hfsplus_class_pages[256];


Loading…
Cancel
Save