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: <d44a5423-0904-d4ac-e4b5-64a778a8339d@gmail.com> Date: Thu, 2 May 2019 07:37:26 -0600 From: David Ahern <dsahern@...il.com> To: Michal Kubecek <mkubecek@...e.cz>, "David S. Miller" <davem@...emloft.net> Cc: netdev@...r.kernel.org, Johannes Berg <johannes.berg@...el.com>, linux-kernel@...r.kernel.org Subject: Re: [PATCH net-next 2/3] netlink: set bad attribute also on maxtype check On 5/2/19 6:48 AM, Michal Kubecek wrote: > The check that attribute type is within 0...maxtype range in > __nla_validate_parse() sets only error message but not bad_attr in extack. > Set also bad_attr to tell userspace which attribute failed validation. > > Signed-off-by: Michal Kubecek <mkubecek@...e.cz> > --- > lib/nlattr.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists