]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/lookups/cdb.c
DSN: fix null deref when bounce is due to conn-timeout. Bug 1630
[user/henk/code/exim.git] / src / src / lookups / cdb.c
index a8fb6b096b2b87e1c7a456ed80a47f98fe0c5062..ea017def127996522505e822082b9e6eac6fca21 100644 (file)
@@ -1,5 +1,3 @@
-/* $Cambridge: exim/src/src/lookups/cdb.c,v 1.3 2005/06/27 14:29:44 ph10 Exp $ */
-
 /*************************************************
 *     Exim - an Internet mail transport agent    *
 *************************************************/
@@ -20,6 +18,9 @@
  *   Changed over to using unsigned chars
  *   Makes use of lf_check_file() for file checking
  * --------------------------------------------------------------
+ * Modified by The Exim Maintainers 2015:
+ *   const propagation
+ * --------------------------------------------------------------
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -274,7 +275,7 @@ cdb_check(void *handle,
 static int
 cdb_find(void *handle,
         uschar *filename,
-        uschar *keystring,
+        const uschar *keystring,
         int  key_len,
         uschar **result,
         uschar **errmsg,