Re: [PATCH] udevadm: update prev properly

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

 



On Tue, Feb 15, 2011 at 10:59, Kei Tokunaga
<tokunaga.keiich@xxxxxxxxxxxxxx> wrote:
> When I tried to boot a system with 256 disks x 4 paths with
> device-mapper, udevadm trigger (--type=devices) that was called
> from start_udev ended up dumping a core due to a segmentation
> fault.
>
> In udev_enumerate_get_list_entry(), if it finds the devices that
> should be delayed, it calls syspath_add(). ÂIf realloc() in
> syspath_add() allocates the required memory at a different memory
> address, referring prev->len afterward causes the segmentation
> fault. ÂI think something like this patch may be needed.

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