Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH v6 1/5] skbuff: return -EMSGSIZE in skb_to_sgvec to prevent overflow | Date | Thu, 27 Apr 2017 14:54:14 +0000 |
| |
From: Jason A. Donenfeld > On Thu, Apr 27, 2017 at 1:30 PM, Sabrina Dubroca <sd@queasysnail.net> wrote: > > Hmm, I think this can actually happen: > > Alright, perhaps better to err on the side of caution, then.
You only need to recurse if both pointers are set.
David
| |