jerpelea opened a new pull request, #19344: URL: https://github.com/apache/nuttx/pull/19344
## Summary The XMC_VADC_* constants describe counts, so the valid register, group, and channel indexes are below those values. The current checks allow the count itself through and then use it to index VADC group, channel, and result registers. Reject those boundary values before the register array access. Generated-by: OpenAI Codex ## Impact RELEASE ## Testing CI -- 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]
