[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180729.125106.426751224292004107.davem@davemloft.net>
Date: Sun, 29 Jul 2018 12:51:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dima@...sta.com
Cc: linux-kernel@...r.kernel.org, herbert@...dor.apana.org.au,
steffen.klassert@...unet.com, netdev@...r.kernel.org
Subject: Re: [PATCH] netlink: Do not subscribe to non-existent groups
From: Dmitry Safonov <dima@...sta.com>
Date: Fri, 27 Jul 2018 16:54:44 +0100
> Make ABI more strict about subscribing to group > ngroups.
> Code doesn't check for that and it looks bogus.
> (one can subscribe to non-existing group)
> Still, it's possible to bind() to all possible groups with (-1)
>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: netdev@...r.kernel.org
> Signed-off-by: Dmitry Safonov <dima@...sta.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists