From d5729a096d040349efc0b4dcb326bbb03c5ac9fb Mon Sep 17 00:00:00 2001 From: Packit Service Date: Feb 03 2021 06:33:20 +0000 Subject: Apply patch glibc-rh1645593.patch patch_name: glibc-rh1645593.patch present_in_specfile: true location_in_specfile: 36 --- diff --git a/sysdeps/unix/sysv/linux/spawni.c b/sysdeps/unix/sysv/linux/spawni.c index cf0213e..85239ce 100644 --- a/sysdeps/unix/sysv/linux/spawni.c +++ b/sysdeps/unix/sysv/linux/spawni.c @@ -101,7 +101,7 @@ maybe_script_execute (struct posix_spawn_args *args) ptrdiff_t argc = args->argc; /* Construct an argument list for the shell. */ - char *new_argv[argc + 1]; + char *new_argv[argc + 2]; new_argv[0] = (char *) _PATH_BSHELL; new_argv[1] = (char *) args->file; if (argc > 1)