|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xl network-attach SEGV in 4.2 and 4.1 [and 1 more messages]
>>> On 18.04.13 at 18:46, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
> Marek Marczykowski writes ("[Xen-devel] xl network-attach SEGV in 4.2 and
> 4.1"):
>> 4.2 and 4.1 suffers from SEGV during xl network-attach in
>> libxl__device_nic_add. In 4.3-unstable it is fixed by:
>> 5420f2650 libxl: Set vfb and vkb devid if not done so by the caller
>>
>> So either the patch need to be backported to 4.1 and 4.2, or fixed by this
> one:
>> - ------
>> libxl: Fix SEGV in network-attach
>
> I have applied this to 4.2 and 4.1. I had to fix up a conflict in 4.1
> and also I fixed a whitespace bug. The patches as committed are below.
This fixup on 4.1 went wrong - you dropped an & that's necessary.
I'll take the liberty to fix this right away.
Jan
>> When "device/vif" directory exists but is empty l!=NULL, but nb==0, so
>> l[nb-1] is invalid. Add missing check.
> ...
>> if (!(l = libxl__xs_directory(gc, XBT_NULL,
>> - - libxl__sprintf(gc, "%s/device/vif",
>> dompath), &nb))) {
>> + libxl__sprintf(gc, "%s/device/vif",
>> dompath), &nb)) ||
>> + nb == 0) {
>
> Something in the arrangements you used to prepare this patch
> linewrapped it _before you signed it_.
>
> Ian Jackson writes ("Re: [Xen-devel] xl network-attach SEGV in 4.2 and 4.1"):
>> Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
>> Date: Thu Apr 18 16:27:46 2013 +0100
>>
>> libxl: Avoid realloc(,0) when libxl__xs_directory returns empty list
>
> IWBNI someone would review this and ack it; I'd like it to go into
> 4.1, 4.2 and unstable.
>
> Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |