deater/perf_event_tests

fuzzer calls parse_open_event with wrong pointer

Opened this issue · 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).