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/02/18 05:31:13 UTC

[GitHub] [incubator-nuttx] masayuki2009 opened a new pull request #292: arch: armv7-a: Fix heap corruption in SMP mode

masayuki2009 opened a new pull request #292: arch: armv7-a: Fix heap corruption in SMP mode
URL: https://github.com/apache/incubator-nuttx/pull/292
 
 
   ### Summary
   
   - Currently up_allocate_heap() assumes that g_idle_topstack points top of the heap memory. However, g_idle_topstack pointed incorrect address in SMP mode which resulted in heap corruption. This PR moves g_idle_topstack at the end of .noinit to avoid this issue.
   
   ### Impact
   
   - This PR affects Cortex-A architectures.
   
   ### Testing
   
   - I tested sabre-6quad:smp and sabre-6quad:nsh with QEMU.
   

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


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] patacongo merged pull request #292: arch: armv7-a: Fix heap corruption in SMP mode

Posted by GitBox <gi...@apache.org>.
patacongo merged pull request #292: arch: armv7-a: Fix heap corruption in SMP mode
URL: https://github.com/apache/incubator-nuttx/pull/292
 
 
   

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


With regards,
Apache Git Services