procmail
[Top] [All Lists]

procmail 3.11 pre5 bugfix

1997-04-09 03:36:00
I fond fatal bug in procmail 3.11pre5.
auth_newid() malloc() and initialize, but not returned.


*** procmail-3.11pre5/src/authenticate.c        Thu Apr  3 10:58:39 1997
--- bugfixed/src/authenticate.c Wed Apr  9 18:49:28 1997
***************
*** 115,120 ****
--- 115,121 ----
  auth_identity*auth_newid P((void))
  { auth_identity*pass;
    (pass=malloc(sizeof*pass))->pw=0;pass->mbox=0;
+   return(pass);
  }
  
  void auth_copyid(newpass,oldpass)auth_identity*newpass;

<Prev in Thread] Current Thread [Next in Thread>