Re: [Qemu-devel] [PATCH] Prevent segmentation fault in case of relative resolve of uri

2014-09-18 Thread Markus Armbruster
Markus Armbruster writes: > Stefan Hajnoczi writes: > >> On Tue, Sep 09, 2014 at 09:45:06AM +0200, mreza...@redhat.com wrote: >>> From: Miroslav Rezanina >>> >>> It was possible to call strcmp with NULL argument, that can cause >>> segmentation fault. Properly checking parameters to prevent th

Re: [Qemu-devel] [PATCH] Prevent segmentation fault in case of relative resolve of uri

2014-09-18 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Tue, Sep 09, 2014 at 09:45:06AM +0200, mreza...@redhat.com wrote: >> From: Miroslav Rezanina >> >> It was possible to call strcmp with NULL argument, that can cause >> segmentation fault. Properly checking parameters to prevent this >> situation. >> >> Signed-off-b

Re: [Qemu-devel] [PATCH] Prevent segmentation fault in case of relative resolve of uri

2014-09-17 Thread Stefan Hajnoczi
On Tue, Sep 09, 2014 at 09:45:06AM +0200, mreza...@redhat.com wrote: > From: Miroslav Rezanina > > It was possible to call strcmp with NULL argument, that can cause > segmentation fault. Properly checking parameters to prevent this > situation. > > Signed-off-by: Miroslav Rezanina > --- > util

[Qemu-devel] [PATCH] Prevent segmentation fault in case of relative resolve of uri

2014-09-09 Thread mrezanin
From: Miroslav Rezanina It was possible to call strcmp with NULL argument, that can cause segmentation fault. Properly checking parameters to prevent this situation. Signed-off-by: Miroslav Rezanina --- util/uri.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/uri.c