]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/vnc: don't raise error formatting socket address for non-inet
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 11 Sep 2024 12:11:12 +0000 (13:11 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 22 Oct 2024 10:44:23 +0000 (11:44 +0100)
commite9eabcc911a2056a91e37384f002610351ca0907
tree27f65d69910f6fcf1478b1c1cd2c5d9bb26a8d1e
parent46c80446b5c1caf39a7ed2d0e426c4712f8e98d2
ui/vnc: don't raise error formatting socket address for non-inet

The SASL library requires the connection's local & remote IP address to
be passed in, since some mechanism may use this information. Currently
QEMU raises an error for non-inet sockets, but it is valid to pass NULL
to the SASL library. Doing so makes SASL work on UNIX sockets.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
ui/vnc-auth-sasl.c