[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2308911.oTjYErtyEh@tjmaciei-mobl1>
Date: Wed, 16 Aug 2017 16:55:47 -0700
From: Thiago Macieira <thiago.macieira@...el.com>
To: Willem de Bruijn <willemdebruijn.kernel@...il.com>
CC: Paolo Abeni <pabeni@...hat.com>,
Matthew Dawson <matthew@...systems.ca>,
Network Development <netdev@...r.kernel.org>
Subject: Re: [PATCH net] datagram: When peeking datagrams with offset < 0 don't skip empty skbs
On Wednesday, 16 August 2017 16:27:17 PDT Willem de Bruijn wrote:
> Actually, it is safe even without the check. Overflow of the signed integer
> is benign here.
Usually, it's a bad idea to allow UB to happen.
Where is the overflow? I didn't see it in the patches so far.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Powered by blists - more mailing lists