mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Properly reset needle length in unserialized buffer
Possible related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/2925
This commit is contained in:
parent
2e6d230a9d
commit
b773b4d635
1 changed files with 2 additions and 0 deletions
|
|
@ -486,6 +486,8 @@ class HNTrieContainer {
|
||||||
} else {
|
} else {
|
||||||
this.buf32.set(selfie);
|
this.buf32.set(selfie);
|
||||||
}
|
}
|
||||||
|
// https://github.com/uBlockOrigin/uBlock-issues/issues/2925
|
||||||
|
this.buf[255] = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue