Thread (15 messages) 15 messages, 6 authors, 2014-07-29

Re: net: socket: NULL ptr deref in sendmsg

From: David Miller <davem@davemloft.net>
Date: 2014-07-29 00:19:04
Also in: lkml

From: Hannes Frederic Sowa <redacted>
Date: Sat, 26 Jul 2014 17:54:40 +0200
On Sa, 2014-07-26 at 19:48 +0400, Andrey Ryabinin wrote:
quoted
2014-07-26 2:15 GMT+04:00 Hannes Frederic Sowa [off-list ref]:
quoted
Otherwise I would just set msg_namelen = 0, too, and just not handle
passed in NULL pointers to sockaddrs.
I like that, how about such chage:
 ...
LGTM! Can you send a patch?
I definitely agree that we should treat NULL as no address specified.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help