|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH XENSTORE v1 09/10] xs: handle daemon socket error
Norbert Manthey writes ("[PATCH XENSTORE v1 09/10] xs: handle daemon socket
error"):
> When starting the daemon, we might see a NULL pointer instead of the
> path to the socket.
>
> Only relevant in case we start the process in a very deep directory
> path, with a length close to 4096 so that appending "/socket" would
> exceed the limit. Hence, such an error is unlikely, but should still be
> fixed to not result in a NULL pointer dereference.
This description talks about starting the daemon ...
> ---
> tools/libs/store/xs.c | 3 +++
> 1 file changed, 3 insertions(+)
But I think ...
> + if (!connect_to)
> + return NULL;
> +
... this is client code ?
Apologies if I am confused.
Ian.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |