zephyr/tests/subsys/logging/log_msg2/src
Krzysztof Chruscinski 92d1d1ab2f tests: logging: log_msg2: Prevent using negative array index
Move assert check before array access to ensure that
negative index is not used in an array. Coverity CID 222151.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-05-12 23:36:01 -05:00
..
main.c tests: logging: log_msg2: Prevent using negative array index 2021-05-12 23:36:01 -05:00