Mercurial > libpst
changeset 342:5d0dc4db45b3 stable-0-6-63
Daniel Gryniewicz found buffer overrun in LIST_COPY_TIME
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 27 Dec 2013 08:44:01 -0800 |
parents | c638905665bc |
children | 2079fc3460c2 |
files | src/libpst.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); \ } \