Bug 115663 - Segfault on modified package
Segfault on modified package
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2004-02-14 09:35 EST by Stefan Nordhausen
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-14 14:46:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stefan Nordhausen 2004-02-14 09:35:15 EST
Version-Release number of selected component:
rpm version 3.06

How reproducible:
Take a valid rpm package and change the byte at offset 0x4F from 0x05
to 0x00. Running "rpm -i <packagename>" will result in segfault. If
you do "rpm -qp <packagename>" you will get "-(null)-(null)" as output.

Similarly, changing the byte at offset 0x04 to 0x02 will result in
"memory alloc returned NULL." when "rpm -i <packagename>" is run.
Interestingly, "rpm --checksig <packagename>" is still happy with this

Expected results:
rpm should report a broken archive.
Comment 1 Jeff Johnson 2004-02-14 14:46:03 EST
This is rpm-3.0.6? Dead and gone, no support.

Please reopen this bug if not rpm-3.0.6.

Note You need to log in before you can comment on or make changes to this bug.