[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180608.185003.1764981291836060402.davem@davemloft.net>
Date: Fri, 08 Jun 2018 18:50:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dcaratti@...hat.com
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
netdev@...r.kernel.org
Subject: Re: [PATCH net v2] net/sched: act_simple: fix parsing of
TCA_DEF_DATA
From: Davide Caratti <dcaratti@...hat.com>
Date: Fri, 8 Jun 2018 05:02:31 +0200
> use nla_strlcpy() to avoid copying data beyond the length of TCA_DEF_DATA
> netlink attribute, in case it is less than SIMP_MAX_DATA and it does not
> end with '\0' character.
>
> v2: fix errors in the commit message, thanks Hangbin Liu
>
> Fixes: fa1b1cff3d06 ("net_cls_act: Make act_simple use of netlink policy.")
> Signed-off-by: Davide Caratti <dcaratti@...hat.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists