chiark / gitweb /
udp: SECURITY: Pass correct size argument to recvfrom
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Sep 2014 22:21:22 +0000 (23:21 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Sep 2014 22:21:22 +0000 (23:21 +0100)
commit1b4ca45e628241eb21bd6f8fbc5ba3c647454db4
treea25422edb45016acd819046727ae1b484f8a5581
parentcad616874fcc3bd565c2105eabff45c7bfc574c1
udp: SECURITY: Pass correct size argument to recvfrom

Otherwise we risk overflowing the buffer.  This is a critical security
problem.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
udp.c