diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-07-19 17:21:01 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-07-19 17:21:01 +0000 |
commit | bd4c1907846b95b95e7d89da42f65bb2b2064057 (patch) | |
tree | 64f78e8027169ec901f2bcea38c828570693e073 | |
parent | 08f96ac5b57c15b309c63c5cb461b8a334091760 (diff) |
- conf.c:valid_wild_card_simple(): don't read past the zero character
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@4263 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r-- | src/conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1744,7 +1744,7 @@ valid_wild_card_simple(const char *data) while ((tmpch = *p++)) { - if (tmpch == '\\') + if (tmpch == '\\' && *p) { ++p; if (++nonwild >= ConfigFileEntry.min_nonwildcard_simple) |