/external/clang/test/Analysis/ |
cstring-syntax.c | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=unix.cstring.BadSizeArg -analyzer-store=region -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}}
|
/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
|
realpath.c | 133 resolved_len = strlcat(resolved, next_token, PATH_MAX); 179 left_len = strlcat(symlink, left, sizeof(left));
|
/external/clang/test/Sema/ |
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/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
|
compat.c | 25 * strlcat() is copyright as follows: 118 /* "$OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $" 127 strlcat(dst, src, siz) function
|
/external/kernel-headers/original/linux/ |
string.h | 39 extern size_t strlcat(char *, const char *, __kernel_size_t);
|
/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/bionic/ |
realpath.c | 156 resolved_len = strlcat(resolved, next_token, PATH_MAX); 213 left_len = strlcat(symlink, left, sizeof(left));
|
/bootable/recovery/mtdutils/ |
flash_image.c | 40 strlcat(buf, ": ", sizeof(buf)); 41 strlcat(buf, strerror(err), sizeof(buf));
|
/external/tcpdump/ |
Makefile.in | 145 strlcat.o: $(srcdir)/missing/strlcat.c 146 $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/strlcat.c
|
/bionic/libc/include/ |
string.h | 75 extern size_t strlcat(char *, const char *, size_t);
|
/bionic/libc/wchar/ |
wcslcat.c | 27 * from OpenBSD: strlcat.c,v 1.3 2000/11/24 11:10:02 itojun Exp
|
/development/ndk/platforms/android-3/include/ |
string.h | 75 extern size_t strlcat(char *, const char *, size_t);
|