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

   
   ## Summary
   
   Addrenv is changed to the newly created process' one in the beginning of 
modlib_bind, and needs to be changed always when returning from the function; 
also in error cases.
   
   This fixes a system crash in case where linking of a new process' linking 
fails in modlib_bind. In the error case the modlib_bind returned with error 
code, but with wrong address environment.
   
   ## Impact
   
   Fixes a crashing bug in platforms using CONFIG_ARCH_ADDRENV.
   
   ## Testing
   
   Tested on imx93 and mpfs platforms.
   


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

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

Reply via email to