[exim-dev] [Bug 1659] 4.86_RC4 on OpenBSD 5.7 amd64 segfault…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Anciens-sujets: [exim-dev] [Bug 1659] New: 4.86_RC4 segfaults after RCPT
Sujet: [exim-dev] [Bug 1659] 4.86_RC4 on OpenBSD 5.7 amd64 segfaults after MAIL FROM
https://bugs.exim.org/show_bug.cgi?id=1659

Jeremy Harris <jgh146exb@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgh146exb@???
             Status|NEW                         |ASSIGNED
           Assignee|nigel@???              |jgh146exb@???


--- Comment #5 from Jeremy Harris <jgh146exb@???> ---
The tls_auth entry is a pseudo-command added to the list in order to facilitate
one-time checking for a tls authenticator at TLS startup (either on-connect or
STARTTLS). It is not expected in input and the code should explicitly avoid
it.
When it didn't, an access one byte preceding the buffer used for smtp input was
made. I am assuming that the buffer had been allocated at the start of a page
(testing of two systems both showed addresses ending in 0x000) _and_ that the
one system which was taking a segfault had a redzone page preceding the
allocated
area.

Adding the previously omitted check appears to eliminate the segfault.

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