Stack smashing in aptitude on safe-upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: aptitude
Latest update of the system causes aptitude to crash on safe-upgrade (FWIW it does the same on install); apparently a protection against stack smashing kicks in and terminates the application.
The error message spit out:
*** stack smashing detected ***: aptitude terminated
======= Backtrace: =========
/lib/tls/
/lib/tls/
aptitude[0x812ae58]
aptitude[0x812b837]
aptitude[0x814293a]
aptitude[0x805e4d7]
/lib/tls/
aptitude[0x805c691]
======= Memory map: ========
00110000-001c9000 r-xp 00000000 08:05 4035 /usr/lib/
001c9000-001ca000 ---p 000b9000 08:05 4035 /usr/lib/
001ca000-001cd000 r--p 000b9000 08:05 4035 /usr/lib/
001cd000-001ce000 rw-p 000bc000 08:05 4035 /usr/lib/
001ce000-0023d000 r-xp 00000000 08:05 4048 /usr/lib/
0023d000-0023e000 r--p 0006e000 08:05 4048 /usr/lib/
0023e000-0023f000 rw-p 0006f000 08:05 4048 /usr/lib/
Which appears to refer to a TLS/SSL encryption library and FWIW the latest upgrade I did, included what looks like an https library for aptitude/apt: apt-transport-
On the other hand the same bug does not manifest itself when using apt; i.e. apt install and apt upgrade continue to function normally; which suggest that it is not the libraries themselves that are at fault.
ProblemType: Bug
Architecture: i386
Date: Wed Dec 23 00:11:09 2009
DistroRelease: Ubuntu 10.04
Package: aptitude 0.4.11.11-1ubuntu6
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: aptitude
Tags: lucid
Uname: Linux 2.6.32-8-generic i686
Forgot to mention: aptitude --version info:
aptitude 0.4.11.11 compiled at Sep 28 2009 12:52:07
Compiler: g++ 4.4.1
Compiled against:
apt version 4.8.1
NCurses version 5.7
libsigc++ version: 2.0.18
Ept support enabled.
Current library versions:
NCurses version: ncurses 5.7.20090803
cwidget version: 0.5.13
Apt version: 4.8.0