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 2023/01/19 06:34:29 UTC

[GitHub] [nuttx] pussuw opened a new pull request, #8188: mm/mm_extend: Increase total heap size accordingly

pussuw opened a new pull request, #8188:
URL: https://github.com/apache/nuttx/pull/8188

   ## Summary
   When adding more heap memory, the total heap size was not updated. This results in a crash in mm_mallinfo:
   
   DEBUGASSERT((size_t)info->uordblks + info->fordblks == heap->mm_heapsize);
   
   This commit fixes this issue
   ## Impact
   Fix crash in mm_mallinfo if sbrk / mm_extend is used, especially happens in CONFIG_BUILD_KERNEL
   ## Testing
   icicle:knsh
   


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

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


[GitHub] [nuttx] xiaoxiang781216 merged pull request #8188: mm/mm_extend: Increase total heap size accordingly

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #8188:
URL: https://github.com/apache/nuttx/pull/8188


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

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