mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgparsemail: Die on parse error (not abort).
* tools/gpgparsemail.c (parse_message): Don't use ERRNO. * tools/rfc822parse.c (transition_to_body): Return -1. (transition_to_header, insert_header): Likewise. -- GnuPG-bug-id: 1977 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
9bf650db02
commit
c13e459ffe
2 changed files with 12 additions and 6 deletions
|
@ -654,7 +654,7 @@ parse_message (FILE *fp)
|
|||
|
||||
|
||||
if (rfc822parse_insert (msg, line, length))
|
||||
die ("parser failed: %s", strerror (errno));
|
||||
die ("parser failed");
|
||||
|
||||
if (info.hashing)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue