Home
last modified time | relevance | path

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

/bionic/libc/bionic/
D__strcat_chk.cpp35 size_t dst_buf_size) { in __strcat_chk() argument
37 size_t dst_len = __strlen_chk(dst, dst_buf_size); in __strcat_chk()
40 dst_buf_size -= dst_len; in __strcat_chk()
43 dst_buf_size--; in __strcat_chk()
44 if (__predict_false(dst_buf_size == 0)) { in __strcat_chk()
45 __fortify_fatal("strcat: prevented write past end of %zu-byte buffer", dst_buf_size); in __strcat_chk()
Dfortify.cpp281 extern "C" void __strcat_chk_fail(size_t dst_buf_size) { in __strcat_chk_fail() argument
282 __fortify_fatal("strcat: prevented write past end of %zu-byte buffer", dst_buf_size); in __strcat_chk_fail()
301 extern "C" void __strcpy_chk_fail(size_t dst_buf_size) { in __strcpy_chk_fail() argument
302 __fortify_fatal("strcpy: prevented write past end of %zu-byte buffer", dst_buf_size); in __strcpy_chk_fail()
330 size_t len, size_t dst_buf_size) { in __strncat_chk() argument
335 size_t dst_len = __strlen_chk(dst, dst_buf_size); in __strncat_chk()
337 dst_buf_size -= dst_len; in __strncat_chk()
341 len--; dst_buf_size--; in __strncat_chk()
343 if (__predict_false(dst_buf_size == 0)) { in __strncat_chk()