aboutsummaryrefslogtreecommitdiffstats
path: root/tools/rfc822parse.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-04-15gpgparsemail: Fix last commit (3f2bdac)Werner Koch1-1/+2
* tools/rfc822parse.c (parse_field): Replace break by goto. -- Brown paper bag bug: Changing an IF to a WHILE inside another loop requires to fix the inner break. Reported-by: Hanno Böck Signed-off-by: Werner Koch <[email protected]> (backported from 2.1 commit 9433661419043431a6cfc7d84c8450e0b2f6c353)
2015-04-15gpgparsemail: Fix case of zero length continuation lines.Werner Koch1-5/+8
* tools/rfc822parse.c (parse_field): Loop after continuation line. -- Using header lines like Name:[lf] [space][lf] [lf] resulted in running into the "(s2 = strchr (delimiters2, *s)" branch and inserting a new token for the empty continuation line. This also led to one byte read after the string which is what Hanno figured. The new code should handle empty continuation lines correct. Reported-by: Hanno Böck Signed-off-by: Werner Koch <[email protected]> (backported from 2.1 commit 3fbeba64a8bfb2b673230c124a3d616b6568fd2f)
2007-09-10Preparing 2.0.7gnupg-2.0.7Werner Koch1-1/+1
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2005-12-16Fixed importing certs created by newer versions of Mozilla.Werner Koch1-4/+7
2005-11-28Preparing an interim releaseWerner Koch1-0/+1
2005-09-06Changed license of this parser to LPGL.Werner Koch1-24/+24
2004-07-20* rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.Werner Koch1-3/+22
2004-01-27Some minor bug fixes, new test utilities and started support for otherWerner Koch1-0/+1235
smartcard applications.