mirror of
https://github.com/php/php-src.git
synced 2025-08-20 17:34:35 +02:00
MFB: fix possible crash
This commit is contained in:
parent
b765958e7a
commit
2e3faf9cd2
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ static int tz_search(char *timezone, int left, int right, const timelib_tzdb *tz
|
||||||
{
|
{
|
||||||
int mid, cmp;
|
int mid, cmp;
|
||||||
|
|
||||||
if (left > right) {
|
if (left >= right) {
|
||||||
return -1; /* not found */
|
return -1; /* not found */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue