[exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim…

Top Page
Delete this message
Reply to this message
Author: Nigel Metheringham
Date:  
To: exim-cvs
Subject: [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/src/auths dovecot.c
nm4 2008/02/06 12:44:59 GMT

  Modified files:
    exim-doc/doc-txt     ChangeLog 
    exim-src/src/auths   dovecot.c 
  Log:
  Close the socket used by the dovecot authenticator.  Fixes: #667


  Revision  Changes    Path
  1.542     +2 -0      exim/exim-doc/doc-txt/ChangeLog
  1.9       +3 -0      exim/exim-src/src/auths/dovecot.c


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.541
  retrieving revision 1.542
  diff -u -r1.541 -r1.542
  --- ChangeLog    30 Jan 2008 20:09:23 -0000    1.541
  +++ ChangeLog    6 Feb 2008 12:44:58 -0000    1.542
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.541 2008/01/30 20:09:23 nm4 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.542 2008/02/06 12:44:58 nm4 Exp $


   Change log file for Exim from version 4.21
   -------------------------------------------
  @@ -22,6 +22,8 @@
   NM/03 Bugzilla 602: exicyclog now handles panic log, and creates empty
         log files in place.  Contributed by Roberto Lima


+NM/04 Bugzilla 667: close socket used by dovecot authenticator
+

Exim version 4.69
-----------------

  Index: dovecot.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/auths/dovecot.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- dovecot.c    18 Jan 2008 12:23:26 -0000    1.8
  +++ dovecot.c    6 Feb 2008 12:44:59 -0000    1.9
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/auths/dovecot.c,v 1.8 2008/01/18 12:23:26 nm4 Exp $ */
  +/* $Cambridge: exim/exim-src/src/auths/dovecot.c,v 1.9 2008/02/06 12:44:59 nm4 Exp $ */


   /*
    * Copyright (c) 2004 Andrey Panin <pazke@???>
  @@ -369,6 +369,9 @@
          }


   out:
  +       /* close the socket used by dovecot */
  +       if (fd >= 0)
  +              close(fd);


          /* Expand server_condition as an authorization check */
          return (ret == OK)? auth_check_serv_cond(ablock) : ret;