From 852c2675c59e7b884d2ae59f3358902febadf9ec Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 11 Mar 2025 10:14:30 +0800 Subject: [PATCH] ; * src/android.c (android_rewrite_spawn_argv): Fix typo. (cherry picked from commit f6a56ddb5dd84c9984d49c9c223e043844ae47ae) --- src/android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android.c b/src/android.c index 6a6996a438b..0be3e10dea4 100644 --- a/src/android.c +++ b/src/android.c @@ -7426,7 +7426,7 @@ android_rewrite_spawn_argv (const char ***argv) /* Allocate a buffer in which to save the rewritten argument array. */ - if (n_new_args != nargs) + if (n_new_args != nargs + 2) { new_args = xrealloc (new_args, sizeof *new_args * (nargs + 3)); n_new_args = nargs + 2; -- 2.39.5