This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch releases/13.0
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 494c608d903638892c8459af998e9f515fd4ff56
Author: fangpeina <[email protected]>
AuthorDate: Wed Jan 28 19:48:25 2026 +0800

    system/nxinit: fix init parser to handle multiple quoted arguments
    
    Fix argument parsing in init_parse_arguments() to properly handle
    multiple quoted arguments like 'echo "arg1" "arg2"' by skipping
    quote characters after processing them.
    
    Signed-off-by: fangpeina <[email protected]>
---
 system/nxinit/parser.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/system/nxinit/parser.c b/system/nxinit/parser.c
index 58da50340..60b189afd 100644
--- a/system/nxinit/parser.c
+++ b/system/nxinit/parser.c
@@ -82,6 +82,7 @@ int init_parse_arguments(FAR char *buf, bool dup, int argc, 
FAR char **argv)
           if (quote)
             {
               quote = false;
+              buf++;
             }
           else
             {

Reply via email to