Bug 171835
Summary: | stray pointer dereference if modsign check fails | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Valdis Kletnieks <valdis.kletnieks> | ||||||
Component: | kernel | Assignee: | David Howells <dhowells> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | davej, wtogami | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-11-23 06:07:38 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: | |||||||||
Attachments: |
|
Description
Valdis Kletnieks
2005-10-26 21:07:50 UTC
Created attachment 120434 [details]
Return NULL if public key not found
The patch is slightly more complicated than is necessary. Just setting pk to NULL between the end of the loop and the "found" label is sufficient. If a match is made, then the goto will skip the clearance. Created attachment 121360 [details]
Return NULL if public key not found
merged in cvs. built for rawhide, should go out in the first post-test1 push (also available from http://people.redhat.com/davej/kernels/Fedora/devel/ |