Re: [PATCH] Check realloc return value in udev collect utility

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

 



On Wed, Jun 18, 2008 at 00:47, Tobias Klauser <tklauser@xxxxxxxxxx> wrote:
> In extras/collect/collect.c a recent commit introduced reallocation of a
> buffer. Though the return value of realloc() is not checked. The
> attached patch fixes this and also changes the data type of bufsize to
> size_t which makes more sense and silences a GCC warning about comparing
> unsigned and signed integers.

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