Mercurial > dovecot > core-2.2
changeset 23017:c1d36f2575c7 default tip
lib-imap: Fix "Don't accept strings with NULs" cherry-pick
author | Timo Sirainen <timo.sirainen@open-xchange.com> |
---|---|
date | Thu, 29 Aug 2019 09:55:25 +0300 |
parents | d133ed304c89 |
children | |
files | src/lib-imap/imap-parser.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-imap/imap-parser.c Fri May 17 10:33:53 2019 +0300 +++ b/src/lib-imap/imap-parser.c Thu Aug 29 09:55:25 2019 +0300 @@ -349,8 +349,7 @@ } if (data[i] == '\0') { - parser->error = IMAP_PARSE_ERROR_BAD_SYNTAX; - parser->error_msg = "NULs not allowed in strings"; + parser->error = "NULs not allowed in strings"; return FALSE; }