Home
last modified time | relevance | path

Searched refs:cur_len (Results 1 – 2 of 2) sorted by relevance

/glibc-2.36/libio/
Diogetdelim.c43 ssize_t cur_len = 0; in __getdelim() local
88 if (__glibc_unlikely (len >= SSIZE_MAX - cur_len)) in __getdelim()
95 needed = cur_len + len + 1; in __getdelim()
111 memcpy (*lineptr + cur_len, (void *) fp->_IO_read_ptr, len); in __getdelim()
113 cur_len += len; in __getdelim()
118 (*lineptr)[cur_len] = '\0'; in __getdelim()
119 result = cur_len; in __getdelim()
/glibc-2.36/ChangeLog.old/
DChangeLog.1877719 (_IO_getdelim): Avoid integer overflow in testing whether cur_len