| commit | 8bb99dc9ce29e9dba323727c59ad4e0fc3bd023b | [log] [tgz] |
|---|---|---|
| author | Peter Bigot <peter.bigot@nordicsemi.no> | Wed Nov 06 10:57:12 2019 -0600 |
| committer | Maureen Helm <maureen.helm@nxp.com> | Wed Nov 06 16:58:57 2019 -0600 |
| tree | 583ecbe32a48d1276e08827c1a2891a99f172701 | |
| parent | ee99749ee57aaa37f16cf033c4a91e108d3b0b60 [diff] |
tests: fcb: initialize buffers to avoid processing uninitialized values 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>