Bug 133536
| Summary: | memory access error in libaudit.c | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charlie Bennett <ccb> |
| Component: | audit | Assignee: | Steve Grubb <sgrubb> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.5.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-12-06 22:01:39 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 123268, 136451 | ||
This was fixed in 0.5.1 a couple weeks ago. This bug report can be closed. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040803 Description of problem: From ArjanV: libaudit.c aroundline 323 has this code: struct audit_rule *audit_rule_alloc(void) { struct audit_rule *rule; if (!(rule = malloc(sizeof(rule)))) return NULL; memset(rule, 0, sizeof(*rule)); return rule; } the sizeof is missing a * here leading to the memset overfowing the just malloc'd buffer.... sounds likesomething that should get fixed eventually Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: What he said Additional info: