mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
sheng: fix reportCurrent eod flag
eod here should be 0, not 1. The reportCurrent NFA API function for Sheng is unused at the moment, so this wasn't causing any problems earlier.
This commit is contained in:
parent
e65479dae5
commit
25adf3f512
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, Intel Corporation
|
||||
* Copyright (c) 2016-2018, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@ -628,7 +628,7 @@ char nfaExecSheng_reportCurrent(const struct NFA *n, struct mq *q) {
|
||||
fireSingleReport(cb, ctxt, sh->report, offset);
|
||||
} else {
|
||||
fireReports(sh, cb, ctxt, s, offset, &cached_state_id,
|
||||
&cached_report_id, 1);
|
||||
&cached_report_id, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user