From 8d4bbee81c620ed0efb69305eb68fb67057bc6d9 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Fri, 25 Oct 2013 00:28:16 -0400 Subject: Unauth'd messages, ODDLY, do not have a sender for the acl library --- server/acl_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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) -- cgit v1.2.3