Home
last modified time | relevance | path

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

/bionic/libc/unistd/
Dopendir.c96 unsigned reclen; in _readdir_unlocked() local
123 reclen = offsetof(struct dirent, d_name) + strlen(entry->d_name) + 1; in _readdir_unlocked()
124 if ( reclen > sizeof(*entry) || reclen <= offsetof(struct dirent, d_name) ) in _readdir_unlocked()
127 if ( (char*)entry + reclen > (char*)dir->_DIR_buff + sizeof(dir->_DIR_buff) ) in _readdir_unlocked()
130 if ( !memchr( entry->d_name, 0, reclen - offsetof(struct dirent, d_name)) ) in _readdir_unlocked()