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

Re: [Xen-devel] Compile errors with gcc 4.8



>>> On 06.02.13 at 21:37, M A Young <m.a.young@xxxxxxxxxxxx> wrote:
>@@ -264,7 +264,7 @@
>                return -1;
>        }
> 
>-       memset(buf,0,sizeof(buf));
>+       memset(buf,0,sizeof(*buf));

While everything else looks right, this one for sure is wrong - buf
is an array, and hence sizeof(*buf) would clear just the first array
element.

Also, we'd need you Signed-off-by to get the patch committed,
and I'd suggest splitting off the public header related change
from the (tools side) rest.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.