Bug 1567797
Summary: | root permission needed to read globally readable file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> |
Component: | libdasm | Assignee: | Michal Ambroz <rebus> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | rebus |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-17 18:11:54 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: |
Description
jiri vanek
2018-04-16 08:45:56 UTC
It is a bug, fopen is called with parameter "r+b" (read and write, binary) instead of "rb" (read binary). Created pull request upstream to fix this: https://github.com/jtpereyda/libdasm/pull/9 Patched also the fedora package in rawhide for next release. I won't be pushing the update packages now as this is not core or even purpose of libdasm or "das" example application to disassemble whole libraries. The libdasm / das is meant to be used for 32-bit opcode such as snippets of the shellcode / functions etc. Sure. Thanx! |