]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Alter virAuthGet*Path API to check valid parameters
authorJohn Ferlan <jferlan@redhat.com>
Tue, 14 Aug 2018 14:03:10 +0000 (10:03 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 15 Aug 2018 19:41:34 +0000 (15:41 -0400)
commitf707935abfae1b5c7ce3d317999e66c8bbe13bb2
treef7e3183651115f2a137168cd131531073988c4d3
parentbfd91dc0c40019c4b543bb704a7391faca0e1bc8
util: Alter virAuthGet*Path API to check valid parameters

Before trying to dereference @auth, let's ensure it's valid.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
src/util/virauth.c