]> the.earth.li Git - onak.git/commit
Improve subpacket parsing robustness
authorJonathan McDowell <noodles@earth.li>
Tue, 23 Aug 2016 08:27:30 +0000 (09:27 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 23 Aug 2016 08:27:30 +0000 (09:27 +0100)
commit4e785b6122f020d1ce1a31af8001316162051183
tree6301f3d98b62f9e24f047831220fb65b6ba589e9
parent7fd2267eca87bd9bcfe5e66e95e2e683bda1533b
Improve subpacket parsing robustness

Although we checked on each round of subpackets that we were still
within the correct length, we weren't checking the subpacket length
itself fit within the remaining data. Fixes some issues found using
American Fuzzy Lop.
decodekey.c