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 2022/05/13 07:05:07 UTC

[GitHub] [mynewt-core] kasjer opened a new pull request, #2837: mempool: Fix check for duplicate free

kasjer opened a new pull request, #2837:
URL: https://github.com/apache/mynewt-core/pull/2837

   When OS_MEMPOOL_CHECK was set to 1, code tried to
   verify that block is not already in free list.
   If during iteration over free list, memory block
   was taken from the pool (from interrupt or higher
   priority task) and already filled with data
   mb_next could point to anything resulting in
   MPU or hard fault exception.
   
   Now critical section is added to prevent list
   modification during check.
   
   Signed-off-by: Jerzy Kasenberg <je...@codecoup.pl>


-- 
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-unsubscribe@mynewt.apache.org

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


[GitHub] [mynewt-core] utzig commented on pull request #2837: mempool: Fix check for duplicate free

Posted by GitBox <gi...@apache.org>.
utzig commented on PR #2837:
URL: https://github.com/apache/mynewt-core/pull/2837#issuecomment-1126197350

   
   <!-- style-bot -->
   
   ## Style check summary
   
   #### No suggestions at this time!
   


-- 
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-unsubscribe@mynewt.apache.org

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


[GitHub] [mynewt-core] kasjer merged pull request #2837: mempool: Fix check for duplicate free

Posted by GitBox <gi...@apache.org>.
kasjer merged PR #2837:
URL: https://github.com/apache/mynewt-core/pull/2837


-- 
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-unsubscribe@mynewt.apache.org

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