github-advanced-security[bot] commented on code in PR #1111:
URL: https://github.com/apache/mynewt-nimble/pull/1111#discussion_r1510768677
##########
nimble/host/mesh/src/testing.c:
##########
@@ -123,18 +123,18 @@
console_printf("IV Index: %08lx\n", (long) bt_mesh.iv_index);
console_printf("Dev key: %s\n", bt_hex(bt_mesh.dev_key, 16));
- for (i = 0; i < ARRAY_SIZE(bt_mesh_cdb.app_keys); ++i)
+ for (i = 0; i < ARRAY_SIZE(bt_mesh_cdb.subnets); ++i)
Review Comment:
## Comparison result is always the same
Comparison is always false because i >= 0.
[Show more
details](https://github.com/apache/mynewt-nimble/security/code-scanning/83)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]