diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-08-21 11:55:15 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-08-21 14:21:13 +0200 |
commit | 09f2a7bca624d0492e1d7ab29ce19542249c13ff (patch) | |
tree | 16d9f1d0ab6635f21ef8fa13b701e38a48a7cdff /am | |
parent | common: Don't assume on-disk layout matches in-memory layout. (diff) | |
download | gnupg2-09f2a7bca624d0492e1d7ab29ce19542249c13ff.tar.xz gnupg2-09f2a7bca624d0492e1d7ab29ce19542249c13ff.zip |
common: Don't incorrectly reject 4 GB - 1 sized packets.
* g10/parse-packet.c (parse): Don't reject 4 GB - 1 sized packets.
Add the constraint that the type must be 63.
* kbx/keybox-openpgp.c (next_packet): Likewise.
* tests/openpgp/4gb-packet.asc: New file.
* tests/openpgp/4gb-packet.test: New file.
* tests/openpgp/Makefile.am (TESTS): Add 4gb-packet.test.
(TEST_FILES): Add 4gb-packet.asc.
--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
Diffstat (limited to 'am')
0 files changed, 0 insertions, 0 deletions