[git] GnuPG - branch, master, updated. gnupg-2.1.12-40-gdb1ecc8
by NIIBE Yutaka
cvs at cvs.gnupg.org
Wed Jun 1 14:05:03 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via db1ecc8212defdd183abbb6b1407fcc8d2dc9552 (commit)
from 67a4bc8d536f6997f14daff4c039abd48a172100 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit db1ecc8212defdd183abbb6b1407fcc8d2dc9552
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Wed Jun 1 20:59:09 2016 +0900
g10: Allow User ID length >= 256.
* build-packet.c (do_user_id): Call write_header2 with HDRLEN not set.
--
Reported-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
GnuPG-bug-id: 2374
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 4bfc2ac..1353a86 100644
--- a/g10/build-packet.c
+++ b/g10/build-packet.c
@@ -329,7 +329,7 @@ do_user_id( IOBUF out, int ctb, PKT_user_id *uid )
}
else
{
- write_header2( out, ctb, uid->len, 2 );
+ write_header2( out, ctb, uid->len, 0 );
rc = iobuf_write( out, uid->name, uid->len );
}
return rc;
-----------------------------------------------------------------------
Summary of changes:
g10/build-packet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list