Re: mworker: execvp failure depending on argv[0]

2018-01-09 Thread Willy Tarreau
On Tue, Jan 09, 2018 at 11:31:51PM +0100, William Lallemand wrote: > From ce9920d284e55600ef324a322a3aed92dd2af02f Mon Sep 17 00:00:00 2001 > From: William Lallemand <wlallem...@haproxy.com> > Date: Tue, 9 Jan 2018 23:12:27 +0100 > Subject: [PATCH] BUG/MEDIUM: mworker: execvp

mworker: execvp failure depending on argv[0]

2018-01-09 Thread William Lallemand
r: execvp failure depending on argv[0] The copy_argv() function lacks a check on '-' to remove the -x, -sf and -st parameters. When reloading a master process with a path starting by /st, /sf, or /x.. the copy_argv() function skipped argv[0] leading to an execvp() without the binary. --- src/hapr