casaroli commented on PR #20583:
URL: https://github.com/apache/nuttx/pull/20583#issuecomment-6124447426

   Done: the PR is now e60e6de82f + 2c27af036bc + 0c13138a986 (authorship kept, 
ported to master: the conflicts keep the master code and change only the 
environ calls).
   
   Two commits are added because the series alone fails here:
   
   (1) In a kernel build the idle task's setenv("PATH") at boot used 
lib_umalloc(), the user heap, and faulted in umm_try_initialize(). The 
environment is now allocated in the heap of its task_info.
   
   (2) A program that replaces environ[i] in place (gnulib putenv) or assigns 
environ made setenv() free a string libc did not allocate (mm_free.c assert; 
test output in the description). libc now frees only the strings it allocated.
   
   ostest passes on knsh and nsh.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to