Thread (31 messages) 31 messages, 5 authors, 2017-08-17

Re: [PATCH net] datagram: When peeking datagrams with offset < 0 don't skip empty skbs

flat view

From: Thiago Macieira <hidden>
Date: 2017-08-16 23:56:18

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help