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 2021/06/15 17:20:49 UTC

[GitHub] [incubator-nuttx] patacongo removed a comment on pull request #3923: sched/posix_spawn: Don't insert name at the begin of argv

patacongo removed a comment on pull request #3923:
URL: https://github.com/apache/incubator-nuttx/pull/3923#issuecomment-861684819


   
   > up_assert: Assertion failed at file:armv7-m/arm_hardfault.c line: 135 task: init
   
   On ARMv7-M, strlen on a NULL pointer should not cause a hardfault.  Something else is wrong.
   
   The loop in nxtask_setup_stackargs() looks wrong to me:  When argv[argc] == NULL, how does it ever get out of the loop?
   
       506   argc = 0;
       507   if (argv != NULL)
       508     {
       511       while (argv[argc])
       512         {
       534         }
       535     }
       


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