Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
safecode
/
test
/
mem_safety
/
stdlib
/
stdlib-011.c
blob: 061c9c798b97ffc82f6981560d932880a465d049 [
file
] [
log
] [
blame
]
/* strcat() which eventually overflows the destination buffer. */
#include
<string.h>
int
main
()
{
char
buf
[
100
];
strcpy
(
buf
,
"String"
);
while
(
1
)
strcat
(
buf
,
"String"
);
return
0
;
}