[pkg-dspam-commits] r95 - in trunk/debian: patches

Matthijs Mohlmann active2-guest at costa.debian.org
Sun May 28 11:38:40 UTC 2006


Author: active2-guest
Date: Sun May 28 11:38:32 2006
New Revision: 95

Added:
   trunk/debian/patches/improper-quotation-fix.dpatch   (contents, props changed)
Modified:
   trunk/debian/changelog
   trunk/debian/patches/00list

Log:
 * Added patch to fix improper quotation in a SQL query.


Modified: trunk/debian/changelog
==============================================================================
--- trunk/debian/changelog	(original)
+++ trunk/debian/changelog	Sun May 28 11:38:32 2006
@@ -10,8 +10,9 @@
   * Updated patch update-dspam.conf (default config for debian)
   * Updated Standards-Version to 3.7.2.0
   * Make dspam_clean a bit more quiet. (Closes: #368822)
+  * Fix improper quotation in the pgsql backend. (Closes: #369179)
 
- -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Thu, 25 May 2006 13:59:00 +0200
+ -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Sun, 28 May 2006 13:16:41 +0200
 
 dspam (3.6.4-4) unstable; urgency=low
 

Modified: trunk/debian/patches/00list
==============================================================================
--- trunk/debian/patches/00list	(original)
+++ trunk/debian/patches/00list	Sun May 28 11:38:32 2006
@@ -15,3 +15,4 @@
 fix-nav-performance.dpatch
 make-daemon-quiet.dpatch
 make-dspam_clean-quiet.dpatch
+improper-quotation-fix.dpatch

Added: trunk/debian/patches/improper-quotation-fix.dpatch
==============================================================================
--- (empty file)
+++ trunk/debian/patches/improper-quotation-fix.dpatch	Sun May 28 11:38:32 2006
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## improper-quotation-fix.dpatch by Matthijs Mohlmann <matthijs at cacholong.nl>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad dspam-3.6.6~/src/pgsql_drv.c dspam-3.6.6/src/pgsql_drv.c
+--- dspam-3.6.6~/src/pgsql_drv.c	2006-05-13 14:17:30.000000000 +0200
++++ dspam-3.6.6/src/pgsql_drv.c	2006-05-28 13:15:54.550604424 +0200
+@@ -2620,7 +2620,7 @@
+   if (type == 1) {
+     snprintf(buffer, bufsz, "%lld", token);
+   } else {
+-    snprintf(buffer, bufsz, "'%llu'", token);
++    snprintf(buffer, bufsz, "%llu", token);
+   }
+   return buffer;
+ }



More information about the Pkg-dspam-commits mailing list