Bug 83315
Summary: | crash when reading package header on some bad formed files. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Fabrice Bellet <fabrice> |
Component: | librpm404 | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 18:51:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Fabrice Bellet
2003-02-02 12:08:01 UTC
Avoiding segfaults when fed random data is (of course) the entire reason why rpm-4.1 verifies signatures/digests when reading headers. I'm almost certain that this segfault is -- like most segfaults in rpm -- caused by bad data in headers. Returning RPMRC_BADSIZE is certainly doable, but is a little trickier than above. If rpm-4.1 "works" performs equivalently to rpm-4.0.4 with signature/digest checking disabled (it should), then I suggest fixing the problem there, not in rpm-4.0.4. *** This bug has been marked as a duplicate of 83320 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |