Commit 5e680c1
committed
scx_nest: fix unitialized value stats counter.
similar issue as sched-ext#3021
==21167== Conditional jump or move depends on uninitialised value(s)
==21167== at 0x4A2C00A: __printf_buffer (vfprintf-process-arg.c:186)
==21167== by 0x4A2D787: __vfprintf_internal (vfprintf-internal.c:1543)
==21167== by 0x4A211F2: printf (printf.c:33)
==21167== by 0x4004F4E: main (in /home/dcarlier/Contribs/scx/build/scheds/c/scx_nest)
==21167== Uninitialised value was created by a stack allocation
==21167== at 0x4003B05: read_stats (in /home/dcarlier/Contribs/scx/build/scheds/c/scx_nest)
Signed-off-by: David Carlier <[email protected]>1 parent f24bae3 commit 5e680c1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments