[erlang-patches] [PATCH] inet: fix getservbyname buffer overflow

Björn Gustavsson bgustavsson@REDACTED
Mon Jul 26 14:47:38 CEST 2010


On Fri, Jul 23, 2010 at 5:29 PM, Michael Santos
<michael.santos@REDACTED> wrote:
> The byte holding the length of the interface name for the getservbyname/2
> function is used in a signed context and can become negative, causing
> the buffer to be overrun. Make the same change for getservbyport/2.
>

Thanks! I have put this patch and the other two inet patches
in a branch called ms/inet-bug-fixes and it will be included in pu.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list