Running the test under valgrind identified three places where an uninitialized stack buffer was used as the source of data over which a CRC was incidently calculated, causing an uninitialized value warning in the CRC calculation. Zero out the source buffers before using them as a data source. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| fcb_test_append_fill.c | ||
| fcb_test_append_too_big.c | ||
| fcb_test_append.c | ||
| fcb_test_empty_walk.c | ||
| fcb_test_init.c | ||
| fcb_test_last_of_n.c | ||
| fcb_test_len.c | ||
| fcb_test_multiple_scratch.c | ||
| fcb_test_reset.c | ||
| fcb_test_rotate.c | ||
| fcb_test.h | ||
| main.c | ||