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/05/27 03:18:39 UTC

[GitHub] [incubator-nuttx] sonicyang opened a new pull request #1119: arch: x86: Set the idle task stack to prevent get/set errno on idle task resulting NULL reference

sonicyang opened a new pull request #1119:
URL: https://github.com/apache/incubator-nuttx/pull/1119


   ## Summary
   
   In response to the recent TLS implementation.
   
   Architecture should set the idle task task attributes in the TCB, otherwise get/set errno on idle task will cause a crash.
   
   This patch sets the x86_64 idle task TCB's stack attributes in up_initialize().
   
   ## Impact
   
   Application should stop crashing, e.g. on sigdeliver(), where get/set errno is called with idle task.
   
   ## Testing
   
   Standard ostest.


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



[GitHub] [incubator-nuttx] patacongo merged pull request #1119: arch: x86: Set the idle task stack to prevent get/set errno on idle task resulting NULL reference

Posted by GitBox <gi...@apache.org>.
patacongo merged pull request #1119:
URL: https://github.com/apache/incubator-nuttx/pull/1119


   


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