minabeoki opened a new pull request #5532:
URL: https://github.com/apache/incubator-nuttx/pull/5532


   ## Summary
   
   At the last loop `if (granidx < priv->ngranules)` condition is ture,
   `priv->gat[gatidx + 1]` reference to out of range.
   
   So, correct condition of next entry is `if (granidx + 32 < priv->ngranules)`.
   
   ## Impact
   
   gran_alloc() function use
   
   ## Testing
   
   test running on custom Cortex-A9 board.


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to