RPM Community Forums

Mailing List Message of <rpm-devel>

Segfault with current CVS when installing any package

From: Bernhard Rosenkraenzer <bero@arklinux.org>
Date: Sun 21 Oct 2007 - 15:37:26 CEST
Message-Id: <200710211537.26755.bero@arklinux.org>
Installing any package with current CVS rpm (on Linux, glibc 2.6.1, gcc 4.3) 
results in a segfault.

The segfault occurs in headerGetExtension(), he->t at the time is 
RPM_STRING_TYPE, he->p.str is non-NULL, but invalid (probably uninitialized).
tagName(he->tag) at the time of the crash is Sha1header.

headerGetExtension is called from addTE() when the crash occurs. (addTE is 
called from rpmteNew, which in turn is called from rpmtsAddInstallElement).
Received on Sun Oct 21 15:45:28 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.