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

Bug#837396: marked as done (Segmentation fault with malformed preferences)



Your message dated Mon, 12 Sep 2016 14:44:03 +0200
with message-id <20160912124403.nu2mmccznrupheoa@crossbow>
and subject line Re: Bug#837396: Segmentation fault with malformed preferences
has caused the Debian Bug report #837396,
regarding Segmentation fault with malformed preferences
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
837396: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837396
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0.9.8.3

apt crashes reproducibly with a malformed
/etc/apt/preferences.d/something.pref file, if the package-line is
missing or in comments:

> #Package: *
> Pin: release n=stretch
> Pin-Priority: 50

> apt update
> […]
> Segmentation fault

apt-get shows no error and works as expected! Tested at amd64.

--
With kind regards,
Christian Schrötter

--- End Message ---
--- Begin Message ---
Version: 1.1.exp9

On Sun, Sep 11, 2016 at 12:17:09PM +0200, Christian Schrötter wrote:
> apt crashes reproducibly with a malformed
> /etc/apt/preferences.d/something.pref file, if the package-line is
> missing or in comments:
> 
> > #Package: *
> > Pin: release n=stretch
> > Pin-Priority: 50
> 
> > apt update
> > […]
> > Segmentation fault
> 
> apt-get shows no error and works as expected! Tested at amd64.

Thanks for the report!

The reason apt-get works is that it isn't showing an upgradeable
statistic as apt does. The crash is caused by not checking for previous
fatal issues, that is fixed in newer releases which is why I am closing
this bugreport as done.

apt (1.1~exp9) experimental; urgency=medium
[…]
[ Julian Andres Klode ]
[…]
  * update: Check if the cache could be opened, don't just assume it
    (Closes: #756162)
[…]
 -- Michael Vogt <mvo@debian.org>  Tue, 18 Aug 2015 11:15:52 +0200


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: