]> git.proxmox.com Git - mirror_qemu.git/commit - ui/vnc-auth-sasl.c
ui/vnc: Convert sasl.mechlist to g_malloc() & friends
authorMarkus Armbruster <armbru@redhat.com>
Tue, 8 Nov 2011 12:45:21 +0000 (13:45 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 10 Nov 2011 12:29:50 +0000 (12:29 +0000)
commit302d9d6fd8cb34e393cc9bb101a1748bd53899d3
tree989ffae5ca42f4e9a7eef6808673f51b402dc3a8
parent542379f42642179cea33571c2799ca6fd03bf452
ui/vnc: Convert sasl.mechlist to g_malloc() & friends

Fixes protocol_client_auth_sasl_mechname() not to crash when malloc()
fails.  Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
ui/vnc-auth-sasl.c