From 1d7d4fe67efa14af3c1aa53fdb8ab3fdd983b778 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 f88b74e69..56e15935c 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 {