mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
- #48746, len includes null already
This commit is contained in:
parent
4417646d72
commit
a8c40d5b3a
1 changed files with 1 additions and 1 deletions
|
@ -746,7 +746,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
|
||||||
*(path + bufindex) = 0;
|
*(path + bufindex) = 0;
|
||||||
j = bufindex;
|
j = bufindex;
|
||||||
} else {
|
} else {
|
||||||
j = rname_len + 1;
|
j = len;
|
||||||
}
|
}
|
||||||
tsrm_free_alloca(pbuffer, use_heap_large);
|
tsrm_free_alloca(pbuffer, use_heap_large);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue