[PATCH] inet: fix ifr_name buffer overflow

Michael Santos michael.santos@REDACTED
Fri Jul 23 17:26:44 CEST 2010


On Wed, Jul 21, 2010 at 11:14:17AM -0400, Michael Santos wrote:

> -    if ((len == 0) || ((namlen = buf[0]) > len))
> +    if ((len == 0) || ((namlen = (unsigned char)buf[0]) > len))

I just discovered the get_int8() macro. I'll update the patch and
re-send. Sorry for the noise.



More information about the erlang-patches mailing list