# HG changeset patch # User Carl Byington # Date 1388162641 28800 # Node ID 5d0dc4db45b382fb477adae052f4c33ea37e4969 # Parent c638905665bc19ad9cc119836451b0c061c0caae Daniel Gryniewicz found buffer overrun in LIST_COPY_TIME diff -r c638905665bc -r 5d0dc4db45b3 src/libpst.c --- a/src/libpst.c Fri Dec 27 08:42:41 2013 -0800 +++ b/src/libpst.c Fri Dec 27 08:44:01 2013 -0800 @@ -2065,7 +2065,7 @@ // malloc space and copy the item filetime #define LIST_COPY_TIME(label, targ) { \ if ((list->elements[x]->type != 0x40) || \ - (list->elements[x]->size != sizeof(FILETIME)) { \ + (list->elements[x]->size != sizeof(FILETIME))) { \ DEBUG_WARN(("src not 0x40 or wrong length for filetime dst\n")); \ DEBUG_HEXDUMP(list->elements[x]->data, list->elements[x]->size); \ } \