/external/clang/test/Analysis/ |
cstring-syntax.c | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=unix.cstring.BadSizeArg -analyzer-store=region -Wno-strncat-size -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -Wno-sizeof-pointer-memaccess -verify %s 9 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // expected-warning {{Potential buffer overflow. Replace with 'sizeof(dest) - strlen(dest) - 1' or use a safer 'strlcat' API}}
|
/bionic/libc/bionic/ |
__strlcat_chk.cpp | 34 * __strlcat_chk. Called in place of strlcat() when we know the 42 * This strlcat check is called if _FORTIFY_SOURCE is defined and 49 __fortify_chk_fail("strlcat buffer overflow", 0); 52 return strlcat(dest, src, supplied_size);
|
/external/clang/test/Sema/ |
builtins-gnu-mode.c | 27 int strlcat; variable
|
warn-strlcpycat-size.c | 1 // RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s 5 size_t strlcat (char * restrict dst, const char * restrict src, size_t size); 24 strlcat(s2, s3, sizeof(s3)); // expected-warning {{size argument in 'strlcat' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}}
|
/external/openssh/openbsd-compat/ |
strlcat.c | 1 /* $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $ */ 19 /* OPENBSD ORIGINAL: lib/libc/string/strlcat.c */ 35 strlcat(char *dst, const char *src, size_t siz) function
|
Makefile.in | 19 OPENBSD=base64.o basename.o bindresvport.o daemon.o dirname.o fmt_scaled.o getcwd.o getgrouplist.o getopt.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o pwcache.o readpassphrase.o realpath.o rresvport.o setenv.o setproctitle.o sha2.o sigact.o strlcat.o strlcpy.o strmode.o strptime.o strsep.o strtonum.o strtoll.o strtoul.o timingsafe_bcmp.o vis.o
|
/external/tcpdump/missing/ |
strlcat.c | 1 /* $NetBSD: strlcat.c,v 1.5 1999/09/20 04:39:47 lukem Exp $ */ 2 /* from OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp */ 33 "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcat.c,v 1.5 2003/11/16 09:36:51 guy Exp $ (LBL)"; 51 strlcat(char *dst, const char *src, size_t siz) function
|
/bionic/libc/string/ |
strlcat.c | 1 /* $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $ */ 30 strlcat(char *dst, const char *src, size_t siz) function
|
strcat.c | 40 "warning: strcat() is almost always misused, please use strlcat()");
|
/development/ndk/samples/hello-neon/jni/ |
helloneon.c | 113 strlcat(buffer, "Neon version : ", sizeof buffer); 116 strlcat(buffer, "Not an ARM CPU !\n", sizeof buffer); 122 strlcat(buffer, "Not an ARMv7 CPU !\n", sizeof buffer); 129 strlcat(buffer, "CPU doesn't support NEON !\n", sizeof buffer); 144 strlcat(buffer, str, sizeof buffer); 159 strlcat(buffer, "Program not compiled with ARMv7 support !\n", sizeof buffer);
|
/external/openssh/ |
md5crypt.c | 145 strlcat(passwd, to64(l, 4), sizeof(passwd)); 147 strlcat(passwd, to64(l, 4), sizeof(passwd)); 149 strlcat(passwd, to64(l, 4), sizeof(passwd)); 151 strlcat(passwd, to64(l, 4), sizeof(passwd)); 153 strlcat(passwd, to64(l, 4), sizeof(passwd)); 155 strlcat(passwd, to64(l, 2), sizeof(passwd));
|
progressmeter.c | 184 strlcat(buf, " ", win_size); 189 strlcat(buf, "/s ", win_size); 198 strlcat(buf, "- stalled -", win_size); 200 strlcat(buf, " --:-- ETA", win_size); 220 strlcat(buf, " ETA", win_size); 222 strlcat(buf, " ", win_size);
|
/external/dropbear/ |
progressmeter.c | 174 strlcat(buf, " ", win_size); 179 strlcat(buf, "/s ", win_size); 188 strlcat(buf, "- stalled -", win_size); 190 strlcat(buf, " --:-- ETA", win_size); 210 strlcat(buf, " ETA", win_size); 212 strlcat(buf, " ", win_size);
|
compat.h | 35 size_t strlcat(char *dst, const char *src, size_t siz);
|
LICENSE | 54 and strlcat() (included in util.c) are from OpenSSH 3.6.1p2, and are licensed 59 strlcat() is (c) Todd C. Miller
|
NOTICE | 54 and strlcat() (included in util.c) are from OpenSSH 3.6.1p2, and are licensed 59 strlcat() is (c) Todd C. Miller
|
/bionic/libc/arch-x86/ |
x86.mk | 22 arch-x86/string/ssse3-strlcat-atom.S \ 46 string/strlcat.c \
|
/system/core/toolbox/ |
log.c | 133 strlcat(buffer, argv[i], sizeof(buffer)-1); 134 strlcat(buffer, " ", sizeof(buffer)-1);
|
lsof.c | 76 strlcat(info->path, type, sizeof(info->path)); 110 strlcat(info->path, "maps", sizeof(info->path)); 137 strlcat(info->path, fd_path, sizeof(info->path)); 190 strlcat(info.path, "cmdline", sizeof(info.path));
|
/bionic/libc/include/ |
string.h | 75 extern size_t strlcat(char* __restrict, const char* __restrict, size_t); 179 __asm__(__USER_LABEL_PREFIX__ "strlcat"); 180 __errordecl(__strlcat_error, "strlcat called with size bigger than buffer"); 185 size_t strlcat(char* __restrict dest, const char* __restrict src, size_t size) { function
|
/external/kernel-headers/original/linux/ |
string.h | 39 extern size_t strlcat(char *, const char *, __kernel_size_t);
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_pcm.c | 25 #define strlcat g_strlcat macro 786 strlcat(dname, tmp, (2+strlen(dname))) ; 788 strlcat(dname, "D", (sizeof("D")+strlen(dname))); 793 strlcat(dname, tmp, (3+strlen(dname))); 795 strlcat(dname, tmp, (2+strlen(dname))); 796 strlcat(dname, "c", (sizeof("c")+strlen(dname))); 800 strlcat(dname, tmp, (2+strlen(dname))) ; 802 strlcat(dname, "D", (sizeof("D")+strlen(dname))); 807 strlcat(dname, tmp, (3+strlen(dname))); 809 strlcat(dname, tmp, (2+strlen(dname))) [all...] |
/bionic/libc/arch-x86/string/ |
strcat.S | 12 .ascii "warning: strcat() is almost always misused, please use strlcat()"
|
/external/ipsec-tools/src/racoon/ |
misc.h | 67 #define strlcat(d,s,l) strncat(d,s,(l)-strlen(d)-1) macro
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 176 resolved_len = strlcat(resolved, next_token, PATH_MAX); 229 left_len = strlcat(symlink, left,
|