1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-02 22:38:02 +02:00
gnupg/kbx
Neal H. Walfield 09f2a7bca6 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>.
2015-08-21 14:21:13 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c common: Rename log and gcc attribute macros (jnlib merge). 2015-04-24 16:10:47 +02:00
keybox-blob.c kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-defs.h kbx: Let keydb_search skip unwanted blobs. 2014-10-31 12:15:34 +01:00
keybox-dump.c Use inline functions to convert buffer data to scalars. 2015-02-11 10:28:25 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c gpg: Allow import of large keys. 2014-12-04 10:53:10 +01:00
keybox-init.c gpg: Take care to use pubring.kbx if it has ever been used. 2014-10-09 19:10:32 +02:00
keybox-openpgp.c common: Don't incorrectly reject 4 GB - 1 sized packets. 2015-08-21 14:21:13 +02:00
keybox-search-desc.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-search.c gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
keybox-update.c Use inline functions to convert buffer data to scalars. 2015-02-11 10:28:25 +01:00
keybox-util.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox.h gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
Makefile.am gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00