https://bugs.kde.org/show_bug.cgi?id=507867
Bug ID: 507867
Summary: perf_event_open group_fd isn't checked
Classification: Developer tools
Product: valgrind
Version First 3.25 GIT
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
int syscall(SYS_perf_event_open, struct perf_event_attr *attr,
pid_t pid, int cpu, int group_fd, unsigned long flags);
The PRE handler in coregrind/m_syswrap/syswrap-linux.c doesn't check ARG4.
There are some special cases though:
- group_fd may be -1
- when PERF_FLAG_FD_NO_GROUP is set group_fd is ignored
--
You are receiving this mail because:
You are watching all bug changes.