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

Pàgina inicial
Delete this message
Reply to this message
Autor: Nigel Metheringham
Data:  
A: exim-cvs
Assumpte: [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/src/auths dovecot.c
nm4 2009/10/26 13:18:54 GMT

  Modified files:
    exim-doc/doc-txt     ChangeLog 
    exim-src/src/auths   dovecot.c 
  Log:
  Dovecot buffer overrun fix.  Fixes: #889


  Revision  Changes    Path
  1.582     +2 -0      exim/exim-doc/doc-txt/ChangeLog
  1.11      +1 -0      exim/exim-src/src/auths/dovecot.c


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.581
  retrieving revision 1.582
  diff -u -r1.581 -r1.582
  --- ChangeLog    26 Oct 2009 13:14:23 -0000    1.581
  +++ ChangeLog    26 Oct 2009 13:18:54 -0000    1.582
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.581 2009/10/26 13:14:23 nm4 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.582 2009/10/26 13:18:54 nm4 Exp $


Change log file for Exim from version 4.21
-------------------------------------------
@@ -136,6 +136,8 @@

NM/30 Bugzilla 888: TLS documentation bugfixes

+NM/31 Bugzilla 889: Dovecot buffer overrun fix
+

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

  Index: dovecot.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/auths/dovecot.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- dovecot.c    16 May 2008 12:22:08 -0000    1.10
  +++ dovecot.c    26 Oct 2009 13:18:54 -0000    1.11
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/auths/dovecot.c,v 1.10 2008/05/16 12:22:08 nm4 Exp $ */
  +/* $Cambridge: exim/exim-src/src/auths/dovecot.c,v 1.11 2009/10/26 13:18:54 nm4 Exp $ */


   /*
    * Copyright (c) 2004 Andrey Panin <pazke@???>
  @@ -131,6 +131,7 @@
       {
       sbp = read(fd, sbuffer, sizeof(sbuffer));
       if (sbp == 0) { if (count == 0) return NULL; else break; }
  +    p = 0;
       }


     while (p < sbp)