]> git.proxmox.com Git - mirror_qemu.git/commit
tests: Fix runtime error in test-authz-pam
authorStefan Weil <sw@weilnetz.de>
Thu, 28 Jan 2021 17:11:27 +0000 (18:11 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 29 Jan 2021 17:07:53 +0000 (17:07 +0000)
commita07e9fdd339e2142572d3da45e2e6869064a3055
tree246aa025fdd64356f04f62a3e45ffd01cd231d9e
parentf4d87ce47c60935e639c76f8973623fd7616cef4
tests: Fix runtime error in test-authz-pam

A test with sanitizers on macOS shows this error:

    authz/pamacct.c:50:25: runtime error: null pointer passed as argument 1, which is declared to never be null
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/security/pam_appl.h:56:2: note: nonnull attribute specified here

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/test-authz-pam.c