[exim-cvs] cvs commit: exim/exim-src/src expand.c

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tom Kistner
日付:  
To: exim-cvs
題目: [exim-cvs] cvs commit: exim/exim-src/src expand.c
tom 2005/03/09 08:27:52 GMT

  Modified files:
    exim-src/src         expand.c 
  Log:
  DK: fix missing NULL pointer check for DK expansions


  Revision  Changes    Path
  1.16      +1 -0      exim/exim-src/src/expand.c


  Index: expand.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/expand.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- expand.c    8 Mar 2005 16:57:28 -0000    1.15
  +++ expand.c    9 Mar 2005 08:27:51 -0000    1.16
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/expand.c,v 1.15 2005/03/08 16:57:28 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/expand.c,v 1.16 2005/03/09 08:27:51 tom Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -1257,6 +1257,7 @@
   #ifdef EXPERIMENTAL_DOMAINKEYS


       case vtype_dk_verify:
  +    if (dk_verify_block == NULL) return US"";
       s = NULL;
       if (Ustrcmp(var_table[middle].name, "dk_result") == 0)
         s = dk_verify_block->result_string;