Re: [Qemu-devel] [PATCH] do not pass NULL to strdup.

2011-02-04 Thread Aurelien Jarno
On Wed, Feb 02, 2011 at 05:34:34PM +0200, Gleb Natapov wrote: > Also use qemu_strdup() instead of strdup() in bootindex code. > > Signed-off-by: Gleb Natapov > --- > > Should go to stable too. Thanks, applied > diff --git a/vl.c b/vl.c > index 655617f..ed2cdfa 100644 > --- a/vl.c > +++ b/vl.c

Re: [Qemu-devel] [PATCH] do not pass NULL to strdup.

2011-02-02 Thread Markus Armbruster
Gleb Natapov writes: > Also use qemu_strdup() instead of strdup() in bootindex code. > > Signed-off-by: Gleb Natapov > --- > > Should go to stable too. Yes, please! By the way, putting 0.14 in the subject should help with that.

[Qemu-devel] [PATCH] do not pass NULL to strdup.

2011-02-02 Thread Gleb Natapov
Also use qemu_strdup() instead of strdup() in bootindex code. Signed-off-by: Gleb Natapov --- Should go to stable too. diff --git a/vl.c b/vl.c index 655617f..ed2cdfa 100644 --- a/vl.c +++ b/vl.c @@ -738,7 +738,7 @@ void add_boot_device_path(int32_t bootindex, DeviceState *dev, node = q