Bug#386197: dpkg: strtol checks don't fail when given a null string

2009-03-22 Thread Guillem Jover
Hi! On Sun, 2009-03-22 at 13:23:45 +0100, Raphael Hertzog wrote: > On Fri, 20 Mar 2009, Bill Allombert wrote: > > > This is easy to fix by checking (s==end), or by setting errno=0 before > > > calling strto* functions, and checking (errno!=0) afterwards (see the > > > recently-updated manpage exam

Bug#421389: dpkg: segfault unpacking a short file

2009-03-22 Thread Bill Allombert
On Sat, Apr 28, 2007 at 11:20:10AM -0400, Justin Pryzby wrote: > Package: dpkg > Version: 1.13.25 > > This was from an aborted wget: > |$ sudo dpkg -i ./coreutils_5.97-5_i386.deb > |(Reading database ... 81656 files and directories currently installed.) > |Preparing to replace coreutils 5.97-5.3 (

Bug#404089: install-info fails to install valid info files

2009-03-22 Thread Raphael Hertzog
On Sun, 22 Mar 2009, Bill Allombert wrote: > On Thu, Dec 21, 2006 at 09:23:37AM -0700, Bdale Garbee wrote: > > Package: dpkg > > > > It appears that install-info fails to install valid info files, which can be > > worked around by reordering entries in the info file. See bug #404048 for > > detai

Processed: setting package to dselect dpkg-dev dpkg, tagging 519998, tagging 293163, tagging 386197

2009-03-22 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > #dpkg (1.15.1) UNRELEASED; urgency=low > # > # * When dpkg delegates to dpkg-query or dpkg-deb to do the actual work, add > #the "--" marker to explicitely document the end of options so that > #arguments starting with a dash are not inte

Bug#386197: dpkg: strtol checks don't fail when given a null string

2009-03-22 Thread Raphael Hertzog
On Fri, 20 Mar 2009, Bill Allombert wrote: > > This is easy to fix by checking (s==end), or by setting errno=0 before > > calling strto* functions, and checking (errno!=0) afterwards (see the > > recently-updated manpage example). Given enough time, I will > > eventually provide a patch for this,

Bug#293163: dpkg -S to handle -- argument

2009-03-22 Thread Raphael Hertzog
Hi, On Fri, 20 Mar 2009, Bill Allombert wrote: > Nowadays, dpkg-query and dpkg use the same option parser. > 'dpkg-query -S -pic' no more work, but 'dpkg-query -S -- -pic' does. > > However 'dpkg -S -- -pic' does not work because dpkg actually call > 'dpkg-query -S -pic'. > > The attach patch ma