diff options
author | Karl Ramm <kcr@1ts.org> | 2013-10-25 00:28:16 -0400 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2013-10-25 00:28:16 -0400 |
commit | 8d4bbee81c620ed0efb69305eb68fb67057bc6d9 (patch) | |
tree | 3cfc16aa5942c976b39611bc6e7b067d54347f70 /server | |
parent | 70e8a0e0f084cdfd50e234d8d80fabaeb39c68c6 (diff) |
Unauth'd messages, ODDLY, do not have a sender for the acl library
Diffstat (limited to 'server')
-rw-r--r-- | server/acl_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/acl_files.c b/server/acl_files.c index a2da446..78404e7 100644 --- a/server/acl_files.c +++ b/server/acl_files.c @@ -372,7 +372,7 @@ acl_check_internal(char *acl, char *princ, struct sockaddr_in *who) } int acl_check(char *acl, char *name, struct sockaddr_in *who) { - char *pname = strdup(name); + char *pname = strdup(name != NULL ? name : ""); int result; if (pname == NULL) |