Re: [PATCH] fix buffer overflow in util_resolve_sys_link()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 31, 2009 at 19:24, Florian Zumbiehl<florz@xxxxxxxx> wrote:
>        len = readlink(syspath, link_target, sizeof(link_target));
> -       if (len <= 0)
> +       if (len <= 0 || len == sizeof(link_target))

Applied.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux