Sign in
llvm
/
llvm-archive
/
8f5549c70aebe1959d31d684f9f67236e1a7facb
/
.
/
safecode
/
test
/
mem_safety
/
uninitialized_variable
/
uninitialized_variable-022.c
blob: e3c5d33bc309b4f8ff5ad5e391ab43cbe5ed63da [
file
] [
log
] [
blame
]
/* Uninitialized pointers in structure arrays. */
#include
<string.h>
struct
test
{
char
*
ptrs
[
10
];
};
int
main
()
{
struct
test tests
[
100
];
memcpy
(
tests
[
56
].
ptrs
[
3
],
"String"
,
3
);
return
0
;
}