diff options
author | Timo Teräs <timo.teras@iki.fi> | 2018-10-05 09:45:02 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-10-05 09:45:02 +0300 |
commit | 40ffdfe623c73c3fdba15fd24bd05d206eff7aad (patch) | |
tree | c5d46f41827bdb9c25ac4a84de775351760317c0 /src/md5.h | |
parent | 0e3be0fd4a0ff8a373b2f8fc7a2a4da0687cb885 (diff) | |
download | apk-tools-40ffdfe623c73c3fdba15fd24bd05d206eff7aad.tar.gz apk-tools-40ffdfe623c73c3fdba15fd24bd05d206eff7aad.tar.bz2 apk-tools-40ffdfe623c73c3fdba15fd24bd05d206eff7aad.tar.xz apk-tools-40ffdfe623c73c3fdba15fd24bd05d206eff7aad.zip |
apk: fix all_options array size off-by-one
merge_options() will write one more entry to the options table
which is the end-of-table indicator. Allocate memory for it too.
valgrind did not pick it up due to being in stack; changing alloca
to malloc would make valgrind notice the issue too.
Reported-by: Mobile Stream <info@mobile-stream.com>
Diffstat (limited to 'src/md5.h')
0 files changed, 0 insertions, 0 deletions