lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 18 Jan 2014 13:05:05 +0100 From: Hannes Frederic Sowa <hannes@...essinduktion.org> To: Steffen Hurrle <steffen@...rle.net> Cc: netdev@...r.kernel.org Subject: Re: [PATCH net-next] net: add build-time checks for msg->msg_name size On Fri, Jan 17, 2014 at 10:53:15PM +0100, Steffen Hurrle wrote: > This is a follow-up patch to f3d3342602f8bc ("net: rework recvmsg > handler msg_name and msg_namelen logic"). > > DECLARE_SOCKADDR validates that the structure we use for writing the > name information to is not larger than the buffer which is reserved > for msg->msg_name (which is 128 bytes). Also use DECLARE_SOCKADDR > consistently in sendmsg code paths. > > Signed-off-by: Steffen Hurrle <steffen@...rle.net> > Suggested-by: Hannes Frederic Sowa <hannes@...essinduktion.org> Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org> Thanks! -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists