commit | b7a897ebd31eda2206f5c15599fb99d45830fd66 | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Tue Sep 22 12:53:06 2020 -0500 |
committer | Maureen Helm <maureen.helm@nxp.com> | Wed Sep 23 13:08:18 2020 -0500 |
tree | d65171ab55c753513b43f05d054a7736bf3170fd | |
parent | 4a27246c06a77c7c8094bf560703197348adf3a9 [diff] |
logging: avoid null pointer dereference in loop An execution path could reach a loop that dereferences a pointer in conditions where the pointer is null. Add a check to the loop condition. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>