You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/12/01 02:01:00 UTC

[GitHub] [incubator-nuttx] Donny9 opened a new pull request #2449: mm/circbuf: fix the problem of dividing by zero.

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


   ## Summary
   1.Check the size of circular buffer when circbuf_read, circbuf_peek, circbuf_write to avoid the problem of dividing by zero.
   2.Don't alloc buffer  when bytes using circbuf_resize is zero.
   ## Impact
   
   ## Testing
   Daily test
   


----------------------------------------------------------------
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.

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



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2449: mm/circbuf: fix the problem of dividing by zero.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #2449:
URL: https://github.com/apache/incubator-nuttx/pull/2449


   


----------------------------------------------------------------
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.

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