Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfortify.cpp100 char* __fgets_chk(char* dst, int supplied_size, FILE* stream, size_t dst_len_from_compiler) { in __fgets_chk() argument
101 if (supplied_size < 0) { in __fgets_chk()
102 __fortify_fatal("fgets: buffer size %d < 0", supplied_size); in __fgets_chk()
104 __check_buffer_access("fgets", "write into", supplied_size, dst_len_from_compiler); in __fgets_chk()
105 return fgets(dst, supplied_size, stream); in __fgets_chk()
307 size_t supplied_size, size_t dst_len_from_compiler) { in __strlcat_chk() argument
308 __check_buffer_access("strlcat", "write into", supplied_size, dst_len_from_compiler); in __strlcat_chk()
309 return strlcat(dst, src, supplied_size); in __strlcat_chk()
313 size_t supplied_size, size_t dst_len_from_compiler) { in __strlcpy_chk() argument
314 __check_buffer_access("strlcpy", "write into", supplied_size, dst_len_from_compiler); in __strlcpy_chk()
[all …]