git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b30ae
)
Fix crash
author
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 6 Apr 2020 19:15:47 +0000
(20:15 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 6 Apr 2020 19:15:47 +0000
(20:15 +0100)
Broken-by: 0b4dfe7aa1
src/src/verify.c
patch
|
blob
|
history
diff --git
a/src/src/verify.c
b/src/src/verify.c
index dda51a5a260e30bd2553d1df7b66019fbb464a12..73d2d7659e709f9dae37db09c89afe787ad8f71e 100644
(file)
--- a/
src/src/verify.c
+++ b/
src/src/verify.c
@@
-2948,11
+2948,13
@@
if (*t == 0 || (*t == '/' && t != ss))
/* See if there is a semicolon in the pattern */
if ((semicolon = Ustrchr(ss, ';')))
- endname = (opts = Ustrchr(ss, ',')) ? opts : semicolon;
-if (opts)
{
- opts++;
- opts = string_copyn(opts, semicolon - opts);
+ endname = (opts = Ustrchr(ss, ',')) ? opts : semicolon;
+ if (opts)
+ {
+ opts++;
+ opts = string_copyn(opts, semicolon - opts);
+ }
}
/* If we are doing an IP address only match, then all lookups must be IP