[Qemu-devel] [PATCH] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread Markus Armbruster
Fixes protocol_client_auth_sasl_mechname() not to crash when malloc() fails. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com --- ui/vnc-auth-sasl.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/vnc-auth-sasl.c b/ui/vnc-auth-sasl.c

[Qemu-devel] [PATCH] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread Markus Armbruster
Fixes protocol_client_auth_sasl_mechname() not to crash when malloc() fails. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com --- ui/vnc-auth-sasl.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/vnc-auth-sasl.c b/ui/vnc-auth-sasl.c

Re: [Qemu-devel] [PATCH] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread Markus Armbruster
Butterfingers, apologies please ignore.

Re: [Qemu-devel] [PATCH] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread Daniel P. Berrange
On Tue, Nov 08, 2011 at 10:55:52AM +0100, Markus Armbruster wrote: Fixes protocol_client_auth_sasl_mechname() not to crash when malloc() fails. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com --- ui/vnc-auth-sasl.c | 10 +- 1 files changed, 5

Re: [Qemu-devel] [PATCH] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread Markus Armbruster
Daniel P. Berrange berra...@redhat.com writes: On Tue, Nov 08, 2011 at 10:55:52AM +0100, Markus Armbruster wrote: Fixes protocol_client_auth_sasl_mechname() not to crash when malloc() fails. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com --- ui/vnc-auth-sasl.c |

Re: [Qemu-devel] [PATCH] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread Stefan Hajnoczi
On Tue, Nov 08, 2011 at 10:55:52AM +0100, Markus Armbruster wrote: Fixes protocol_client_auth_sasl_mechname() not to crash when malloc() fails. Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com --- ui/vnc-auth-sasl.c | 10 +- 1 files changed, 5

Re: [Qemu-devel] [PATCH] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread Stefan Hajnoczi
On Tue, Nov 8, 2011 at 10:49 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Nov 08, 2011 at 10:55:52AM +0100, Markus Armbruster wrote: Fixes protocol_client_auth_sasl_mechname() not to crash when malloc() fails.  Spotted by Coverity. Signed-off-by: Markus Armbruster arm...@redhat.com