- #48746, len includes null already

This commit is contained in:
Pierre Joye 2009-09-02 22:59:58 +00:00
parent 4417646d72
commit a8c40d5b3a

View file

@ -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);