commit | 886529b56ccbf381d9a58c64b4d016a9d05e2c25 | [log] [tgz] |
---|---|---|
author | David Kilzer <ddkilzer@apple.com> | Tue Apr 05 12:05:25 2016 -0700 |
committer | Daniel Veillard <veillard@redhat.com> | Mon May 23 09:23:22 2016 +0800 |
tree | f6aaa0cd09bb2b4a3b3bae5a622cfb66996faf9c | |
parent | 489200559245d8013273a170ff40007252c14ccb [diff] |
Unsigned addition may overflow in xmlMallocAtomicLoc() For https://bugzilla.gnome.org/show_bug.cgi?id=764616 This code is used only if turning memory allocation debug in configure with --with-mem-debug, which should never happen in real life, so not a serious issue. * xmlmemory.c: (MAX_SIZE_T): Macro to define maximum value of size_t. (xmlMallocAtomicLoc): Add bounds check. Fix description and use the correct function name in another error message.