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 2018/01/02 13:18:43 UTC

[GitHub] mkiiskila commented on issue #700: kernel/os_mempool: Fix for incorrect check on os_mempool_init

mkiiskila commented on issue #700: kernel/os_mempool: Fix for incorrect check on os_mempool_init
URL: https://github.com/apache/mynewt-core/pull/700#issuecomment-354764611
 
 
   We should take into account linkage to freelist, therefore the size should not be smaller than a pointer. Correct fix would've been to change the block_size <= sizeof(struct os_memblock)
   to block_size < sizeof(struct os_memblock). Opening PR for that.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services