Re: [ 26/48] net:socket: set msg_namelen to 0 if msg_name is passed as NULL in msghdr struct from userland.

From: Willy Tarreau
Date: Sat May 16 2015 - 01:32:00 EST


Hi Ben,

On Fri, May 15, 2015 at 10:08:22PM +0100, Ben Hutchings wrote:
> I think you'll also want this related fix:
>
> commit 91edd096e224941131f896b86838b1e59553696a
> Author: Catalin Marinas <catalin.marinas@xxxxxxx>
> Date: Fri Mar 20 16:48:13 2015 +0000
>
> net: compat: Update get_compat_msghdr() to match copy_msghdr_from_user() behaviour

Ah good catch, I missed it. Now merged and tested.
BTW, I've added your s-o-b on the two other patches.

Thanks!
Willy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/