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

Re: [Xen-devel] bug in xenbus_dev.c?

On 21/12/2008 03:32, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> The code at A is only executed if 'msg_type == XS_TRANSACTION_START',
> but isn't it possible for B to be executed in the
> non-XS_TRANSACTION_START code path, resulting in kfree(NULL)?

kfree(NULL) is valid and a no-op.

 -- Keir

Xen-devel mailing list



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