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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 10 Feb 2012 14:24:52 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	gregory.v.rose@...el.com
Cc:	netdev@...r.kernel.org
Subject: Re: [RFC PATCH] rtnetlink: Fix problem with buffer allocation

From: "Rose, Gregory V" <gregory.v.rose@...el.com>
Date: Fri, 10 Feb 2012 19:07:15 +0000

> OK, sounds good.  How about I also add a field to indicate the
> application buffer size?

How can this help, we already have it.  It's the length field to
the recvmsg() call.

Also, either the user provided a large enough buffer or he didn't.  If
he didn't we return an error to the recvmsg() call, and the user can
increase the buffer size and try again.

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ