Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfortify.cpp96 char* __fgets_chk(char* dst, int supplied_size, FILE* stream, size_t dst_len_from_compiler) { in __fgets_chk() argument
97 if (supplied_size < 0) { in __fgets_chk()
98 __fortify_fatal("fgets: buffer size %d < 0", supplied_size); in __fgets_chk()
100 __check_buffer_access("fgets", "write into", supplied_size, dst_len_from_compiler); in __fgets_chk()
101 return fgets(dst, supplied_size, stream); in __fgets_chk()
305 size_t supplied_size, size_t dst_len_from_compiler) { in __strlcat_chk() argument
306 __check_buffer_access("strlcat", "write into", supplied_size, dst_len_from_compiler); in __strlcat_chk()
307 return strlcat(dst, src, supplied_size); in __strlcat_chk()
311 size_t supplied_size, size_t dst_len_from_compiler) { in __strlcpy_chk() argument
312 __check_buffer_access("strlcpy", "write into", supplied_size, dst_len_from_compiler); in __strlcpy_chk()
[all …]