repo.or.cz
/
splint-patched.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't try calling lsl when file is missing.
[splint-patched.git]
/
test
/
sizeoftest
/
sizeofConst.c
blob
d63a186fefb81af937de7763b7832be8931922b2
1
/*@null@*/
char
*
f
()
2
{
3
char
*
buf
=
malloc
(
sizeof
(
"1234"
) );
4
if
(
buf
==
NULL
)
5
{
6
return
NULL
;
7
}
8
9
strcpy
(
buf
,
"1234"
);
10
return
buf
;
11
}
12