This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
[Fix] Try to handle hyperscan error
tags/1.2.4
Vsevolod Stakhov
8 years ago
parent
9a56acc7f9
commit
a5a312b65b
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
5
0
src/libutil/multipattern.c
+ 5
- 0
src/libutil/multipattern.c
View File
@@ -502,6 +502,11 @@ rspamd_multipattern_hs_cb (unsigned int id,
gint ret = 0;
if (to > 0) {
if (from == HS_OFFSET_PAST_HORIZON) {
from = 0;
}
ret = cbd->cb (cbd->mp, id, from, to - 1, cbd->in, cbd->len, cbd->ud);
cbd->nfound ++;
Write
Preview
Loading…
Cancel
Save