Janne Blomqvist wrote:
> the attached patch avoids a stack overflow crash due to not trying to
> create a null-terminated duplicate of the argument char array on the
> stack. Also, for the common case it avoids an extra allocation and an
> extra memcpy.
>
> Regtested on x86_64-unknown-linux-gnu, Ok
PING
On Sat, May 3, 2014 at 11:47 PM, Janne Blomqvist
wrote:
> Hello,
>
> the attached patch avoids a stack overflow crash due to not trying to
> create a null-terminated duplicate of the argument char array on the
> stack. Also, for the common case it avoids an extra allocation and an
> extra me
Hello,
the attached patch avoids a stack overflow crash due to not trying to
create a null-terminated duplicate of the argument char array on the
stack. Also, for the common case it avoids an extra allocation and an
extra memcpy.
Regtested on x86_64-unknown-linux-gnu, Ok for trunk?
2014-05-03 J