Bug 929365
Summary: | /usr/lib/rpm/debugedit crashes on particular file | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Engelhardt <jengelh> | ||||||
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | ffesti, jakub, jzeleny, novyjindrich, packaging-team-maint, pknirsch, pmatilai, roland | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-07-05 08:53:27 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Jan Engelhardt
2013-03-29 23:43:23 UTC
Created attachment 718208 [details]
one of the component files of the .so (built with C6 gcc-4.4.6)
While one probably does not normally pass .o files to debugedit, it also makes it crash, which points that the section problem - if it really is any - is merely carried over from the .o files into the .so.
More observations: debugedit always crashed unless -b and -d were specified with some directory.
debugedit anyfile.o ## crash
debugedit -b . -d . anyfile.o ## succeed
With attachment 718208 [details] as object file, debugedit also crashes when -b and -d is specified.
Avoiding crash on NULL pointer dereference would be easy enough, but figuring out what's actually wrong with the file (and what should debugedit do about it if not just ignore the NULL) is well beyond my limited knowledge of elf/dwarf stuff... Roland/Jakub, care to have a look? Oh well, fixed in rpm >= 4.11.1 by just skipping the NULL section entirely. |