[PATCH XENSTORE v1 07/10] xenstore: handle do_mkdir and do_rm failure

2021-03-03 Thread Ian Jackson
Norbert Manthey writes ("[PATCH XENSTORE v1 07/10] xenstore: handle do_mkdir and do_rm failure"): > In the out of memory case, we might return a NULL pointer when > canonicalizing node names. This NULL pointer is not checked when > creating a directory, or when removing

Re: [PATCH XENSTORE v1 07/10] xenstore: handle do_mkdir and do_rm failure

2021-03-01 Thread Jürgen Groß
On 26.02.21 15:41, Norbert Manthey wrote: In the out of memory case, we might return a NULL pointer when canonicalizing node names. This NULL pointer is not checked when creating a directory, or when removing a node. This change handles the NULL pointer for these two cases. This bug was discover

[PATCH XENSTORE v1 07/10] xenstore: handle do_mkdir and do_rm failure

2021-02-26 Thread Norbert Manthey
In the out of memory case, we might return a NULL pointer when canonicalizing node names. This NULL pointer is not checked when creating a directory, or when removing a node. This change handles the NULL pointer for these two cases. This bug was discovered and resolved using Coverity Static Analys