Bug#681085: libnet-cups-perl: Segfaults in Net::CUPS::PPD method getNextOption when enumerating options

2012-07-10 Thread Dylan Smith
Package: libnet-cups-perl
Version: 0.60-1
Severity: important
Tags: upstream

The following Perl script will crash with a segmentation fault. The expected
behaviour of getNextOption when there are no options left is to return undef.

#!/usr/bin/perl
use Net::CUPS;
use Net::CUPS::Destination;
use Net::CUPS::PPD;
use Data::Dumper;
use strict;

my $cups=Net::CUPS-new();

my $printer=$cups-getDestination(someprinter);
my $name=$printer-getName();

print(Printer name: $name\n);

my @options=$printer-getOptions();
foreach my $line (@options) {
   my $opt=$printer-getOptionValue($line);
   print(option: $line = $opt\n);
}

print(\n--- PPD options\n);

my $ppd=$cups-getPPD(tardisjet);
while(my $opt=$ppd-getNextOption()) {
   print(Option:\n);
   print Dumper $opt;
}



-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnet-cups-perl depends on:
ii  libc6   2.11.3-3 Embedded GNU C Library: Shared lib
ii  libcups21.4.4-7+squeeze1 Common UNIX Printing System(tm) - 
ii  libgnutls26 2.8.6-1+squeeze2 the GNU TLS library - runtime libr
ii  libgssapi-krb5-21.8.3+dfsg-4squeeze5 MIT Kerberos runtime libraries - k
ii  perl5.10.1-17squeeze3Larry Wall's Practical Extraction 
ii  perl-base [perlapi- 5.10.1-17squeeze3minimal Perl system
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

libnet-cups-perl recommends no packages.

Versions of packages libnet-cups-perl suggests:
ii  cups-common 1.4.4-7+squeeze1 Common UNIX Printing System(tm) - 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#550296: clamav: ClamAV is now disabled

2010-04-16 Thread Dylan Smith
Package: clamav
Version: 0.94.dfsg.2-1lenny2
Followup-For: Bug #550296


ClamAV no longer functions at all in Debian, and mail servers that 
depend on passing messages via ClamAV are also disabled. The version of 
ClamAV in the distribution has been disabled by the clamav authors.

-- Package-specific info:
--- configuration ---
/etc/clamav/clamd.conf: clamd directives
--
LogFile = /var/log/clamav/clamav.log
LogFileUnlock = no
LogFileMaxSize = 0
LogTime = yes
LogClean = no
LogVerbose = no
LogSyslog = no
LogFacility = LOG_LOCAL6
PidFile = /var/run/clamav/clamd.pid
TemporaryDirectory not set
ScanPE = yes
ScanELF = yes
DetectBrokenExecutables = no
ScanMail = yes
MailFollowURLs = no
ScanPartialMessages = no
PhishingSignatures = yes
PhishingScanURLs = yes
PhishingAlwaysBlockCloak = no
PhishingAlwaysBlockSSLMismatch = no
HeuristicScanPrecedence = no
DetectPUA = no
ExcludePUA not set
IncludePUA not set
StructuredDataDetection = no
StructuredMinCreditCardCount = 3
StructuredMinSSNCount = 3
StructuredSSNFormatNormal = yes
StructuredSSNFormatStripped = no
AlgorithmicDetection = yes
ScanHTML = yes
ScanOLE2 = yes
ScanPDF = yes
ScanArchive = yes
MaxScanSize = 104857600
MaxFileSize = 26214400
MaxRecursion = 16
MaxFiles = 1
ArchiveLimitMemoryUsage = no
ArchiveBlockEncrypted = no
DatabaseDirectory = /var/lib/clamav
TCPAddr not set
TCPSocket not set
LocalSocket = /var/run/clamav/clamd.ctl
MaxConnectionQueueLength = 15
StreamMaxLength = 10485760
StreamMinPort = 1024
StreamMaxPort = 2048
MaxThreads = 12
ReadTimeout = 180
IdleTimeout = 30
MaxDirectoryRecursion = 15
ExcludePath not set
FollowDirectorySymlinks = no
FollowFileSymlinks = no
ExitOnOOM = no
Foreground = no
Debug = no
LeaveTemporaryFiles = no
FixStaleSocket = yes
User = clamav
AllowSupplementaryGroups = yes
SelfCheck = 3600
VirusEvent not set
ClamukoScanOnAccess not set
ClamukoScanOnOpen not set
ClamukoScanOnClose not set
ClamukoScanOnExec not set
ClamukoIncludePath not set
ClamukoExcludePath not set
ClamukoMaxFileSize = 5242880
DevACOnly not set
DevACDepth not set
*** MailMaxRecursion is DEPRECATED ***
*** ArchiveMaxFileSize is DEPRECATED ***
*** ArchiveMaxRecursion is DEPRECATED ***
*** ArchiveMaxFiles is DEPRECATED ***
*** ArchiveMaxCompressionRatio is DEPRECATED ***
*** ArchiveBlockMax is DEPRECATED ***

/etc/clamav/freshclam.conf: freshclam directives
--
LogFileMaxSize = 0
LogTime = no
LogVerbose = no
LogSyslog = no
LogFacility = LOG_LOCAL6
PidFile = /var/run/clamav/freshclam.pid
DatabaseDirectory = /var/lib/clamav/
Foreground = no
Debug = no
AllowSupplementaryGroups = no
DatabaseOwner = clamav
Checks = 24
UpdateLogFile = /var/log/clamav/freshclam.log
DNSDatabaseInfo = current.cvd.clamav.net
DatabaseMirror = db.local.clamav.net
DatabaseMirror = database.clamav.net
MaxAttempts = 5
ScriptedUpdates = yes
CompressLocalDatabase = no
HTTPProxyServer not set
HTTPProxyPort not set
HTTPProxyUsername not set
HTTPProxyPassword not set
HTTPUserAgent not set
NotifyClamd not set
OnUpdateExecute not set
OnErrorExecute not set
OnOutdatedExecute not set
LocalIPAddress not set
ConnectTimeout = 30
ReceiveTimeout = 30
SubmitDetectionStats not set
DetectionStatsCountry not set

Engine and signature databases
--
Engine version: 0.94.2
Database directory: /var/lib/clamav/
main db: Format: .cvd, Version: 52, Build time: Mon Feb 15 14:54:51 2010
daily db: Not found

--- data dir ---
total 26696
-rw-r--r-- 1 clamav clamav  3162112 2010-04-16 04:37 daily.cld.bak
-rw-r--r-- 1 clamav clamav  1223184 2010-04-16 10:38 daily.cvd.bak
-rw-r--r-- 1 clamav clamav 22906487 2010-02-15 14:54 main.cvd
-rw-r--r-- 1 clamav clamav 1924 2010-04-16 10:38 mirrors.dat

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav depends on:
ii  clamav-freshclam [cl 0.94.dfsg.2-1lenny2 anti-virus utility for Unix - viru
ii  libbz2-1.0   1.0.5-1 high-quality block-sorting file co
ii  libc62.7-18lenny2GNU C Library: Shared libraries
ii  libclamav5   0.94.dfsg.2-1lenny2 anti-virus utility for Unix - libr
ii  libgmp3c22:4.2.2+dfsg-3  Multiprecision arithmetic library
ii  zlib1g   1:1.2.3.3.dfsg-12   compression library - runtime

Versions of packages clamav recommends:
ii  clamav-base  0.94.dfsg.2-1lenny2 anti-virus utility for Unix - base

Versions of packages clamav suggests:
pn  clamav-docs   none (no description available)
pn  lha   none (no description available)
pn  unrar none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of 

Bug#557103: uw-imapd occasionally corrupts /var/spool/mail/[user] and ~/mbox

2009-11-19 Thread Dylan Smith
Package: uw-imapd
Version: 7:2007b~dfsg-4+lenny3
Severity: important

On rare occasions, uw-imapd is corrupting users mailboxes. The problem
has been observed with the /var/spool/mail/[username] file as well as
~/mbox. The problem has been observed with users who are using Apple's
mail.app on OS X 10.5, and with users of Outlook Express on Windows XP.
I have not seen the problem occur with SquirrelMail, but it's entirely
possible that this is because SquirrelMail is used rarely.

Instances of mailbox corruption are irregular and occur on average
about once a month, although it did happen to a Mail.app user twice
in two days.

The result is from around 30 to 200 (approximate) bytes of garbage 
overwriting that amount of the first message of the mailbox, from the 
first byte of the file. The file must be manually repaired before the 
user can get to their mailbox by constructing valid headers in place of 
the corrupted data.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages uw-imapd depends on:
ii  debconf [debcon 1.5.24   Debian configuration management sy
ii  libc-client2007 7:2007b~dfsg-4+lenny3c-client library for mail protocol
ii  libc6   2.7-18   GNU C Library: Shared libraries
ii  libcomerr2  1.41.3-1 common error description library
ii  libkrb531.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libpam-runtime  1.0.1-5+lenny1   Runtime support for the PAM librar
ii  libpam0g1.0.1-5+lenny1   Pluggable Authentication Modules l
ii  libssl0.9.8 0.9.8g-15+lenny5 SSL shared libraries
ii  openbsd-inetd [ 0.20080125-2 The OpenBSD Internet Superserver
ii  openssl 0.9.8g-15+lenny5 Secure Socket Layer (SSL) binary a

Versions of packages uw-imapd recommends:
ii  postfix [mail-transport-agent 2.5.5-1.1  High-performance mail transport ag

Versions of packages uw-imapd suggests:
pn  logcheck  none (no description available)
ii  mutt [imap-client]1.5.18-6   text-based mailreader supporting M

-- debconf information:
  uw-imapd/force_debconf_choice: false
  uw-imapd/protocol: imap2, imaps



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org