Displaying 1 result from an estimated 1 matches for "hive_open".
Did you mean:
hivex_open
2009 Nov 03
1
hivex.c: unchecked calloc
Hi Rich,
There's an unchecked calloc in hivex.c's hive_open:
h->bitmap = calloc (1 + h->size / 32, 1);
...
This subsequent deref could cause a segfault:
BITMAP_SET (h->bitmap, blkoff);