mirror of
https://github.com/php/php-src.git
synced 2025-01-11 05:24:49 +08:00
- MF53: len includes the NULL already
This commit is contained in:
parent
a6412a5e71
commit
ebce328066
@ -746,7 +746,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
|
||||
*(path + bufindex) = 0;
|
||||
j = bufindex;
|
||||
} else {
|
||||
j = rname_len + 1;
|
||||
j = len;
|
||||
}
|
||||
tsrm_free_alloca(pbuffer, use_heap_large);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user