[Pkg-dspam-misc] Bug#369862: dspam_admin's "delete preference"
sub-command causes infinite loop
Daniel Kahn Gillmor
dkg-debian.org at fifthhorseman.net
Thu Jun 1 21:14:58 UTC 2006
Package: dspam
Version: 3.6.6-1
Severity: normal
Tags: patch
dspam_admin delete preference does not work. it sends dspam_admin
into an infinite loop on any backend that uses flat files for storing
preferences.
i'm attaching a patch to fix the infinite loop in the various
backends.
Also, the function call that invokes the backend storage driver
library miscounts its arguments, so (at least with hash_drv) no
preferences are actually deleted. The attached patch also includes a
fix to this mis-invocation of the library call.
The patch should apply after fix-nav-performance.dpatch.
These changes have already been submitted and accepted upstream and
will hopefully be in the next revision of dspam (3.6.7?), whenever
that is released.
Thanks for maintaining debian's dspam!
--dkg
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages dspam depends on:
ii adduser 3.87 Add and remove users and groups
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libdspam7 3.6.6-1 DSPAM is a scalable and statistica
ii libldap2 2.1.30-13 OpenLDAP libraries
ii procmail 3.22-16 Versatile e-mail processor
Versions of packages dspam recommends:
pn clamav-daemon <none> (no description available)
ii dspam-doc 3.6.4-4 Documentation for dspam
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pref-del.dpatch
Type: application/x-shellscript
Size: 3879 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-dspam-misc/attachments/20060601/cab00f4f/fix-pref-del.bin
More information about the Pkg-dspam-misc
mailing list