[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#103399: marked as done (dpkg: segfaults in some cases)



Your message dated 13 Oct 2002 15:28:55 +0200
with message-id <1034515737.32229.667.camel@thanatos>
and subject line 103399 done
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Jul 2001 21:25:36 +0000
>From 8@free.bsd.hu Tue Jul 03 16:25:36 2001
Return-path: <8@free.bsd.hu>
Received: from mail.interware.hu [::ffff:195.70.32.130] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15HXfs-0007je-00; Tue, 03 Jul 2001 16:25:36 -0500
Received: from pretoria-23.budapest.interware.hu ([195.70.53.87] helo=iluvatar.ath.cx)
	by mail.interware.hu with esmtp (Exim 3.22 #1 (Debian))
	id 15HXfi-0004M0-00
	for <submit@bugs.debian.org>; Tue, 03 Jul 2001 23:25:26 +0200
Received: by iluvatar.ath.cx (Postfix, from userid 1004)
	id D6926ABF6A; Tue,  3 Jul 2001 23:25:09 +0200 (CEST)
Date: Tue, 3 Jul 2001 23:25:09 +0200
From: Gergely Nagy <algernon@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: dpkg: segfaults in some cases
Message-ID: <20010703232509.I663@iluvatar>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
X-Operating-System: Linux/2.4.4 (i586) [#74] iluvatar
X-Fortune: I have a very strange feeling about this... -- Luke Skywalker
Organization: The MadHouse Project
Delivered-To: submit@bugs.debian.org

Package: dpkg
Version: 1.9.15
Severity: normal

When I try dpkg -l, it segfaults on one box, first I suspected the
status/available file, but when I copied those to a box where dpkg did
not segfault, I couldn't reproduce the problem..

Then, I ltraced dpkg, and noticed the following line:
printf("%c%c%c %-14.14s %-14.14s %.*s\n", '|', '|', '/', "Name", "Version", 40, "Description" <unfinished ...>

As I see it, the format string expects three chars, then three
strings, however, it gets three chars, two strings, an int, and a
third string as argument. If I'm not mistaken, then that 40 causes it
to try and access 0x40, which is probably not good..

The gzipped status and available files can be found at
    http://midgard.debian.net/~mhp/dpkg/
(the ltrace log is there too)

Cheers,
-- 
Gergely Nagy \ mhp/|8]

---------------------------------------
Received: (at 103399-done) by bugs.debian.org; 13 Oct 2002 13:29:24 +0000
>From jdthood@yahoo.co.uk Sun Oct 13 08:29:24 2002
Return-path: <jdthood@yahoo.co.uk>
Received: from smtp03.wxs.nl [195.121.6.37] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 180io8-0002v9-00; Sun, 13 Oct 2002 08:29:24 -0500
Received: from localhost.localdomain ([213.75.115.4]) by
          smtp03.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id
          H3X9G301.7GJ for <103399-done@bugs.debian.org>; Sun, 13 Oct 2002
          15:28:51 +0200 
Subject: 103399 done
From: Thomas Hood <jdthood@yahoo.co.uk>
To: 103399-done@bugs.debian.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 
Date: 13 Oct 2002 15:28:55 +0200
Message-Id: <1034515737.32229.667.camel@thanatos>
Mime-Version: 1.0
Delivered-To: 103399-done@bugs.debian.org

Since the bug is unreproducible and seems also to have
been fixed ...  closing.




Reply to: