Bug 115663 - Segfault on modified package
Summary: Segfault on modified package
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm   
(Show other bugs)
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-14 14:35 UTC by Stefan Nordhausen
Modified: 2007-11-30 22:10 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Stefan Nordhausen 2004-02-14 14:35:15 UTC
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 19:46:03 UTC
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.