Commit 9d9bd38f authored by Dave Airlie's avatar Dave Airlie Committed by Peter Hutterer
Browse files

os/access: fix regression in server interpreted auth

This was reported on irc on Fedora when rawhide went to 1.17.1.

regression occured in: 2566835b

 os: Eliminate uninitialized value warnings from access.c

siAddrMatch doesn't need addr to be a useful value, it checks
some things like localuser without having an address at all.
Signed-off-by: default avatarDave Airlie <>
Tested-by: Peter Hutterer's avatarPeter Hutterer <>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 3a06faf3
......@@ -1392,7 +1392,7 @@ InvalidHost(register struct sockaddr *saddr, int len, ClientPtr client)
for (host = validhosts; host; host = host->next) {
if (host->family == FamilyServerInterpreted) {
if (addr && siAddrMatch(family, addr, len, host, client)) {
if (siAddrMatch(family, addr, len, host, client)) {
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment