Commit a1c4b3c
committed
perf: initialize synthetic fanotify metadata
The perf helper initialized only the fields it immediately needed, but decision_event_init copies the entire fanotify metadata structure. This propagated indeterminate bytes through the decision envelope.
Zero-initialize the synthetic metadata record before setting the fd, pid, and mask fields used by the perf workload.1 parent ac7ec31 commit a1c4b3c
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments