Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unititialized string offset access in query parser
The code always tried to access positon 2 of the parsed token, even for tokens shorter than that (like OR) fixes #3896
- Loading branch information
1 parent
a42c05d
commit 40f2b82
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,4 +228,5 @@ function test_requesttoolargenumberrevs() { | |
$this->assertEquals($revsexpected, $revs); | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters