[ovs-dev] [PATCH] socket-util-unix: Avoid buffer read overrun in get_unix_name_len().

Joe Stringer joe at ovn.org
Thu Sep 15 17:27:09 UTC 2016


On 14 September 2016 at 20:39, Ben Pfaff <blp at ovn.org> wrote:
> If the socket length does not include any of the bytes of the path, then
> the code should not read even the first byte of the path.
>
> Found by valgrind.
>
> CC: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
> Reported-by: Joe Stringer <joe at ovn.org>
> Signed-off-by: Ben Pfaff <blp at ovn.org>

Thanks.

Acked-by: Joe Stringer <joe at ovn.org>



More information about the dev mailing list