lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20170430.224259.758720932636802809.davem@davemloft.net> Date: Sun, 30 Apr 2017 22:42:59 -0400 (EDT) From: David Miller <davem@...emloft.net> To: dan.carpenter@...cle.com Cc: bianpan2016@....com, roopa@...ulusnetworks.com, dsa@...ulusnetworks.com, rshearma@...cade.com, tom@...bertland.com, david.lebrun@...ouvain.be, netdev@...r.kernel.org, kernel-janitors@...r.kernel.org Subject: Re: [PATCH net-next] lwtunnel: fix error path in lwtunnel_fill_encap() From: Dan Carpenter <dan.carpenter@...cle.com> Date: Fri, 28 Apr 2017 16:03:48 +0300 > We recently added a check to see if nla_nest_start() fails. There are > two issues with that. First, if it fails then I don't think we should > call nla_nest_cancel(). Second, it's slightly convoluted but the > current code returns success but we should return -EMSGSIZE instead. > > Fixes: a50fe0ffd76f ("lwtunnel: check return value of nla_nest_start") > Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com> Applied.
Powered by blists - more mailing lists