[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 dkim.c
nm4 2010/05/29 20:16:50 BST

  Modified files:
    exim-doc/doc-txt     ChangeLog 
    exim-src/src         dkim.c 
  Log:
  Null initialise DKIM variable.  Fixes: #986


  Revision  Changes    Path
  1.610     +2 -0      exim/exim-doc/doc-txt/ChangeLog
  1.14      +4 -1      exim/exim-src/src/dkim.c


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.609
  retrieving revision 1.610
  diff -u -r1.609 -r1.610
  --- ChangeLog    29 May 2010 17:09:09 -0000    1.609
  +++ ChangeLog    29 May 2010 19:16:50 -0000    1.610
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.609 2010/05/29 17:09:09 nm4 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.610 2010/05/29 19:16:50 nm4 Exp $


   Change log file for Exim from version 4.21
   -------------------------------------------
  @@ -36,6 +36,8 @@
         list, not as a single string, and sign the message with each element,
         omitting multiple occurences of the same signer.


  +NM/07 Null terminate DKIM strings, Null initialise DKIM variable
  +      Bugzilla 985, 986.  Patch by Simon Arlott



Exim version 4.71

  Index: dkim.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/dkim.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- dkim.c    19 Feb 2010 10:30:13 -0000    1.13
  +++ dkim.c    29 May 2010 19:16:50 -0000    1.14
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/dkim.c,v 1.13 2010/02/19 10:30:13 michael Exp $ */
  +/* $Cambridge: exim/exim-src/src/dkim.c,v 1.14 2010/05/29 19:16:50 nm4 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -467,7 +467,10 @@
           goto CLEANUP;
         }
       }
  -    /* else pass NULL, which means default header list */
  +    else {
  +      /* pass NULL, which means default header list */
  +      dkim_sign_headers_expanded = NULL;
  +    }


       /* Get private key to use. */
       dkim_private_key_expanded = expand_string(dkim_private_key);