Bug 115663 - Segfault on modified package
Segfault on modified package
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2004-02-14 14:46:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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
packet.


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.