Actions
Bug #15492
openlibwrap: the comparison will always evaluate as 'false'
Start date:
Due date:
% Done:
90%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Build error with gcc 12:
../hosts_access.c: In function 'host_match': ../hosts_access.c:301:32: error: the comparison will always evaluate as 'false' for the address of 'addr' will never be NULL [-Werror=address] 301 | if (host->addr == NULL || | ^~ In file included from ../hosts_access.c:55: ../tcpd.h:95:13: note: 'addr' declared here 95 | char addr[STRING_LENGTH]; /* access via eval_hostaddr(host) */ | ^~~~ cc1: all warnings being treated as errors
Actions