Bug 857653
Summary: | [RFE, PATCH] No external access to file lists and policy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alec Leamas <leamas.alec> | ||||||||
Component: | rpm | Assignee: | Fedora Packaging Toolset Team <packaging-team> | ||||||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | ffesti, jzeleny, packaging-team, rvokal | ||||||||
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: | 2015-06-12 13:21:05 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
Alec Leamas
2012-09-15 15:15:02 UTC
Created attachment 618989 [details] Updated patch Updated after discussion on the list [1]: - Returning plain string instead of ARGV_t from C. - Using single function specPkgGetSection, similar to specGetSection but working on package instead. [1]: http://lists.rpm.org/pipermail/rpm-maint/2012-September/003222.html Created attachment 619780 [details]
Updated patch
Updated after comments from dmalcolm at redhat.com (thanks!) about low-memory failures in python C library.
Although this patch now is safe(?), note that lower parts of the library, notably rpmstring, does not check return values from malloc/realloc so when memory is exhausted those will probably fail anyway.
Sorry, this got dropped somehow. We are now working our way through the back log. Added upstream as 05b7ac821487300f7c8924216087d9ee4347fe1d and beecf9cf26f6095c936368094c06ea3d84bd57f6 and will be part in the upcoming rpm-4.13 release. Hm... in the meantime we now also have the %license stuff added. Probably we should allow access also to this is the same way, partly just for symmetry. I will try to have a look at it after the holidays (i. e., August). |