You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/09/04 12:15:33 UTC

[GitHub] [mynewt-nimble] sjanc commented on issue #858: Possible NULL dereference in porting/nimble/src/os_mempool.c

sjanc commented on issue #858:
URL: https://github.com/apache/mynewt-nimble/issues/858#issuecomment-687106427


   if membuf is NULL, blocks must be 0 (otherwise function returns in line 81) so that while() never loops and thus SLIST_NEXT(block_ptr, mb_next) is not called


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