mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 18:20:35 +03:00
Fix error in initial noodle double final call.
Change-Id: Ie044988f183b47e0b2f1eed3b4bd23de75c3117d
This commit is contained in:
committed by
Konstantinos Margaritis
parent
736286c2f3
commit
db26cdd4bf
@@ -245,7 +245,7 @@ hwlm_error_t scanDouble(const struct noodTable *n, const u8 *buf, size_t len,
|
||||
// Check first position in scalar so as to remove underflow possibilities.
|
||||
size_t matchPos = d - buf;
|
||||
DEBUG_PRINTF("Test match pos %zu\n", matchPos);
|
||||
RETURN_IF_TERMINATED(final(n, d, len, true, cbi, matchPos));
|
||||
RETURN_IF_TERMINATED(final(n, buf, len, true, cbi, matchPos));
|
||||
d += 2;
|
||||
if (d >= e) {
|
||||
return HWLM_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user