• Max Kellermann's avatar
    ape: check the tag size (fixes integer underflow) · a988b9b0
    Max Kellermann authored
    The expression "tagLen - size > 0" may result in an integer underflow
    and a buffer overflow, when "size" is larger than "tagLen".  "size" is
    read from the input file, and must not be trusted.  This patch changes
    the expression to "tagLen > size", which is a lot safer.
    a988b9b0
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...