Skip to content

Commit

Permalink
Fix memory corruption in EventsTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
stanek-michal committed May 22, 2024
1 parent 2ceede5 commit 341211f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions non-GPL/Events/EventsTrace/EventsTrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,7 @@ static int event_ctx_callback(struct ebpf_event_header *evt_hdr)
break;
case EBPF_EVENT_FILE_MODIFY:
out_file_modify((struct ebpf_file_modify_event *)evt_hdr);
break;
case EBPF_EVENT_FILE_MEMFD_OPEN:
// reuses struct ebpf_file_create_event
out_file_memfd_open((struct ebpf_file_create_event *)evt_hdr);
Expand Down

0 comments on commit 341211f

Please sign in to comment.