Re: [Exim] Reproduciable crash (plaintext authenticator?)

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Alexander Sabourenkov
CC: exim-users
Onderwerp: Re: [Exim] Reproduciable crash (plaintext authenticator?)
On Wed, 19 Mar 2003, Alexander Sabourenkov wrote:

> The following transaction results in SIGSEGV on at least 4.10, 4.12 and 4.14:


Here's the patch. It was a "typo" type error. Surprising nobody had
picked this up before.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.




*** exim-4.14/src/auths/plaintext.c Tue Mar 11 12:20:19 2003
--- auths/plaintext.c    Wed Mar 19 16:11:44 2003
***************
*** 93,99 ****
    if (Ustrcmp(data, "=") == 0)
      {
      expand_nstring[++expand_nmax] = US"";
!     expand_nstring[expand_nmax] = 0;
      }
    else
      {
--- 93,99 ----
    if (Ustrcmp(data, "=") == 0)
      {
      expand_nstring[++expand_nmax] = US"";
!     expand_nlength[expand_nmax] = 0;
      }
    else
      {