Thread (3 messages) flat view 3 messages, 3 authors, 2018-06-08

Re: [PATCH net v2] net/sched: act_simple: fix parsing of TCA_DEF_DATA

From: David Miller <davem@davemloft.net>
Date: 2018-06-08 22:50:04

From: Davide Caratti <redacted>
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 <redacted>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help