summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/s_user.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6381b58..8ab0c08 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
o) Added 'xline' and 'resv' logging types. See doc/reference.conf
for more information
o) Fixed bug where remote /STATS requests were not rate limited
+o) Fixed core with empty auth::spoof entries
-- ircd-hybrid-8.1.3 Release Notes
diff --git a/src/s_user.c b/src/s_user.c
index b0d347b..f7d6bd4 100644
--- a/src/s_user.c
+++ b/src/s_user.c
@@ -645,7 +645,7 @@ valid_hostname(const char *hostname)
assert(p != NULL);
- if (*p == '.' || *p == ':')
+ if (EmptyString(p) || *p == '.' || *p == ':')
return 0;
for (; *p; ++p)