mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 17:43:22 +08:00
PR https://github.com/apache/nuttx/pull/19139 addresses the issue, but there is one minor problem. In the for loop the element `i+1` is written which means there can still be an overflow by one element (uint32_t or 4 bytes). Addressing here with this PR. Tested locally, builds fine. Signed-off-by: Catalin Visinescu <catalin_visinescu@yahoo.com>