openconnect: Domain pointer was used incorrectly
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Fri, 30 Nov 2012 09:30:41 +0000 (11:30 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 30 Nov 2012 13:01:18 +0000 (15:01 +0200)
commitf0191c24ad067e927c4bfe40f3933011724bda64
tree6aa75cc08e4a27ab28dc260daf19f0a0ef512e74
parentf701b508e41288867845f5c4f2589903671e8c31
openconnect: Domain pointer was used incorrectly

We must allocate the domain name from the heap and not
point to it directly because the dbus library will deallocate
it and we will have invalid memory access.
vpn/plugins/openconnect.c