RPM Community Forums

Mailing List Message of <rpm-devel>

double-free in current CVS

From: Bernhard Rosenkraenzer <bero@arklinux.org>
Date: Sat 13 Oct 2007 - 16:32:02 CEST
Message-Id: <200710131632.02785.bero@arklinux.org>
With current CVS, I keep getting

*** glibc detected *** rpm: double free or corruption (out): 0x09192040 ***

when installing a package built with rpm 4.4.5 without gpg signature.

I haven't really tracked it down yet, but there seems to be a code path that 
triggers an sha1 checksum to be freed twice -- changing 
dig->sig=_free(dig->sig); in rpmpgp.c pgpSetSig() to dig->sig=NULL; makes it 
work (but is quite certainly not the right thing to do, it just helps 
locating the problem).
Received on Sat Oct 13 16:36:55 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.