[PATCH] posix: Remove dynamic memory allocation from execl{e,p}
Zack Weinberg
zackw@panix.com
Fri Jan 29 15:00:00 GMT 2016
On Fri, Jan 29, 2016 at 8:53 AM, Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
> GLIBC execl{e,p} implementation might use malloc if the total number of
> arguments exceeds initial assumption size (1024). This might lead to
> issues in two situations: [...]
I think it would help the discussion if you could outline the
conditions under which these functions need to allocate memory in the
first place. Does it happen all the time, or only when falling back
to non-#! shell script invocation, or what?
zw
More information about the Libc-alpha
mailing list