[exim-dev] [Bug 2857] Off by one error in parse_forward_list…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2857] Off by one error in parse_forward_list() leads to SIGSEGV
https://bugs.exim.org/show_bug.cgi?id=2857

--- Comment #3 from Jeremy Harris <jgh146exb@???> ---
Looking further:

The commit was making the caller data (known as "s") readonly, for good reason,
so we can't just put the "s[len] = 0" write back in. However, it is there to
trim the trailing newline from the error message.
The change to use copyn is just bogus and needs rewriting.
Normally the remainder of the input record would be an informative message;
the second ":fail:" in this case isn't very informative but is not wrong.

--
You are receiving this mail because:
You are on the CC list for the bug.