perf_event_tests icon indicating copy to clipboard operation
perf_event_tests copied to clipboard

fuzzer calls parse_open_event with wrong pointer

Open algrant-arm opened this issue 2 years ago • 0 comments

In active_events.c 'pe' is a perf_event_attr, in fuzzer.c 'pe' is a pointer to perf_event_attr. parse_open_event is called with &pe both times. This is likely to crash or corrupt something, and my build warns about it. Judging from the code, fuzzer.c should call parse_open_event with ...,pe not ...,&pe).

algrant-arm avatar Dec 05 '22 18:12 algrant-arm