mirror of
git://sourceware.org/git/valgrind.git
synced 2026-01-12 00:19:31 +08:00
14 lines
265 B
C
14 lines
265 B
C
|
|
#include <string.h>
|
|
|
|
int main() {
|
|
char buffer[200] = "HALLO";
|
|
char *b2 = strdup(strcat(buffer, "THis is a very long strings"));
|
|
int len = strlen(b2);
|
|
if (len < 12)
|
|
return 0;
|
|
else
|
|
return 1;
|
|
}
|
|
|