From 58045449ef1815169db76b2a44438b3d8bf0d081 Mon Sep 17 00:00:00 2001 From: fangpeina Date: Wed, 28 Jan 2026 19:48:25 +0800 Subject: [PATCH] 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 --- 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 {