]> the.earth.li Git - onak.git/commit
Add sanity check for PGP packet version
authorJonathan McDowell <noodles@earth.li>
Mon, 22 Aug 2016 22:14:24 +0000 (23:14 +0100)
committerJonathan McDowell <noodles@earth.li>
Mon, 22 Aug 2016 22:14:24 +0000 (23:14 +0100)
commit7fd2267eca87bd9bcfe5e66e95e2e683bda1533b
treed46b08bb84a7f5aaf628c51cf2f1ad707166570b
parent5d859953e393a2539e67df3ce73798e7029cf5b9
Add sanity check for PGP packet version

At present only PGP packet versions up to 4 are supported. There's no
indication version 5+ will be backwards compatible, so if we see
anything higher it indicates something unsupported. Fixes some issues
found using American Fuzzy Lop.
parsekey.c