Re: [PATCH iproute2 v2] ss: Fix allocation of cong control alg name
From: Eric Dumazet <hidden>
Date: 2015-05-29 22:37:12
From: Eric Dumazet <hidden>
Date: 2015-05-29 22:37:12
On Fri, 2015-05-29 at 15:02 -0700, Stephen Hemminger wrote:
Why not use strdupa? I handles arbitrary size?
I doubt this will please security guys.
RETURN VALUE
The alloca() function returns a pointer to the beginning of the
allocated space. If the allocation causes stack overflow, program
behavior is undefined.
Could we please stick with this 16 bytes value ?
I am confident we wont increase kernel side because of various backward
compatibility issues anyway.