On Thu, 3 Dec 2015 17:13:48 +0100
Nicolas Dichtel <[email protected]> wrote:
> There is two variables named 'len' in rtnl_talk. In fact, commit
> c079e121a73a didn't work. For example, it was possible to trigger
> a seg fault with this command:
> $ ip link set gre2 type ip6gre hoplimit 32
>
> Let's rename the argument len to maxlen.
>
> Fixes: c079e121a73a ("libnetlink: add size argument to rtnl_talk")
> Reported-by: Thomas Faivre <[email protected]>
> Signed-off-by: Nicolas Dichtel <[email protected]>
Applied, thanks, Not sure why compiler isn't catching this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html