[SRU quantal saucy lts-raring] [PATCH 0/1] LP#1269053 -- recv_msg send_msg EINVAL regression

Andy Whitcroft apw at canonical.com
Tue Jan 14 21:02:07 UTC 2014


When the commit below was applied it caused a regression with msg IPC
specifically with poorly written applications which supplied buffers larger
than that permitted by the kernel.  While these are arguably faulty the
regression can be avoided by clamping the buffer size to that the kernel
will use.  The following patch is a simple cherry-pick of the upstream fix.

Proposing for quantal/master saucy/master and precise/lts-raring.

-apw

Dan Carpenter (1):
  net: clamp ->msg_namelen instead of returning an error

 net/compat.c | 2 +-
 net/socket.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.8.5.2





More information about the kernel-team mailing list