Commit dd8486f
committed
platform: posix: Correct posix_fuzz_sz to size_t to prevent truncation
The fuzzer's payload size posix_fuzz_sz is provided by libFuzzer as
a size_t. Declaring it as a uint8_t in the ipc test harness resulted
in silent payload truncation (maximum 255 bytes) causing incomplete
corpus generation. This corrects the types between fuzz.c and ipc.c.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent 6752df4 commit dd8486f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments