repo.or.cz
/
smatch.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
buf_size: add support for strndup()
2010-07-31
Dan
C
arp
e
nter
buf_si
z
e
: add
s
upport f
o
r
s
t
r
n
d
up(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
arpenter
buf_size: us
e
strcpy() to
d
etermine the size of the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
D
an Carpenter
buf_size: use
s
t
r
ncpy
(
)
and f
r
iends
t
o set the buf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
b
uf_size: wh
i
tesp
a
ce chang
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan
Carpe
n
t
er
overflow: remove u
n
used
f
unctions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpen
t
er
buf
_
size: use
al
l
oc_
s
t
ate_num
(
) instead of custom v
e
rsi
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
arpenter
buf_size:
r
e
mov
e
un
u
s
e
d defi
n
ition
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpent
e
r
ov
e
rflow: make ar
r
ay
s
ize
tracking
i
n
to a library
f
u
nction
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-30
D
a
n
Carpent
e
r
u
n
wind: add p
c
i_io
m
ap()
a
nd pci_iounmap(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Carpenter
*ne
w
* check_kmalloc_t
o
_
b
u
gon: don't call bug_on
(
) for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Carpenter
*new* check_unwin
d
:
check that mo
d
ule_init function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
Dan Ca
r
penter
cor
e
: p
r
ocess inline statements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
D
a
n Carpenter
f
low: handle a
s
m statements co
r
rectly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
Dan Carpenter
Merge
g
it://gi
t
.
k
e
rnel
.
org/
p
ub/scm/devel/s
p
arse/chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-07-19
Da
n
Ca
r
penter
a
d
d ubifs_assert(
)
t
o
list of assert
m
acros that ca
l
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
D
a
n
Car
p
enter
c
h
eck_dma: add a check for foo = km
a
l
l
oc(
s
izeof(*foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-14
Dan
C
arp
e
nter
s
i
g
n
ed: unsigned va
r
iables
a
re allowed
to do math with
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
D
a
n
C
arpenter
overflow: handle
"i
f
(strlen(foo) < 10) {
.
.
.
"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
Dan Carpenter
o
verflow: add sup
p
o
r
t
for strlen
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Tilman S
a
uerbeck
Wa
r
n if random point
e
rs
are used
as s
o
ur
c
e buffers
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan Carpenter
leaks
:
repla
c
e
check
_
m
e
m
ory
.
c with a rewrit
e
check_leaks
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan Ca
r
p
e
n
ter
get_
v
ariable_from_expr
_
complex(): return prop
e
r symbol
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Til
m
an Sauerbe
c
k
Added
a te
s
t
c
a
s
e for the recently intro
d
uced
e
xt
e
nded
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpenter
Makefile: small whitespace change
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
D
a
n
C
a
rpente
r
memory: remo
v
e
t
h
e
w
arnings about freed memory
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Tilman
Saue
r
beck
Find l
e
aks that occur by setting pointers
t
o
allocated
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Tilman Sauerbeck
Ad
d
ed
a
simple
test
ca
s
e for the dou
b
le free che
c
ker
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpen
t
er
check_free: cre
a
te
a
separa
t
e check
f
o
r
m
isusing free
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-05
Dan Carpenter
r
elated: renam
e
dinfo->e
q
uiv to
d
i
n
fo->relat
e
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan
C
a
r
p
enter
constr
a
i
n
ts: shuffle things aro
u
nd a
b
it
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan
Carpenter
*ne
w
* scripts/generisize
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
D
a
n Carp
e
nter
type
:
all
o
w
the
p
arameter to be null
for type_unsig
n
ed(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-15
Dan Carpen
t
er
red
o
the ignored_macros stuff
p
roperly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan
C
a
rpenter
conditions: fix memory
leak
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Ca
r
penter
e
lim
i
nate some new "statem
e
nt
has
n
o e
f
fect" fal
s
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Ca
r
penter
g
et rid of get_next_stmt()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
D
a
n Carpe
n
ter
core
:
handle "fo
o
=
(
{
frob()
;
frob(
)
; f
r
ob(); 1;})
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
locking: add
s
p
i
n
_tryloc
k
_irqsave()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
D
a
n Ca
r
p
e
n
ter
f
ix
crashing bug
caused by the
little
endian check
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
D
an Carpenter
extra: ig
n
ore W
A
R
N
_ON
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
D
an Carpente
r
err_ptr: remove jedec_probe() from err_ptr
list
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Ca
r
penter
s
nprin
t
f: t
u
rn off be default
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpente
r
validation:
update overflow tes
t
to
a
dd quotes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
D
an C
a
rpenter
cond
i
t
i
ons: f
i
x handling of __builtin_cons
t
ant_p()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Car
p
ente
r
overflow: add quotes around variable names
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpen
t
e
r
overflow: igno
r
e a
r
rays with only one element
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan
C
arpenter
over
f
low: add c
a
lloc() support
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan
Carpenter
overflow: chec
k
f
or copy_to_user() over
f
lows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-09
Dan Carpenter
memory: fix leak false
posit
i
ves caused
by "foo = bar
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Dan Carpe
n
t
e
r
le16: fix false po
s
itives and turn
o
n by defa
u
lt
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Dan
C
arp
e
nter
macro: t
h
e
first ma
c
r
o
added is the one to keep
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Da
n
Ca
r
penter
memory:
a
dd qu
o
tes in outp
u
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
Dan Carpenter
flow: fix "if();" false positives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
Dan Carpenter
extra: tweak ass
i
g
n
m
en
t
of unsigne
d
values
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-05
Dan Ca
r
penter
smat
c
h_extra: cleanup
match_assign
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-04
Dan Carpenter
return_efault: find more bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan Carpe
n
t
er
*new
*
ret
u
rn_efault: looks
f
or p
l
aces that should return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan Carpent
e
r
s
m
atch_type: fix
_
_bitwise__
handlin
g
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
D
a
n C
a
rpente
r
Upd
a
te
s
m
a
t
ch_data/ f
o
r
2
.
6
.
35-rc1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
D
an Carpenter
*new* propagat
e
:
ch
e
ck that
e
rror codes get propaga
t
ed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-29
Dan Carp
e
n
ter
err
_
ptr
_
de
r
ef:
d
on'
t
c
omplai
n
if the variab
l
e is nu
l
l
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-26
Dan Ca
r
penter
*new* ch
e
ck_macros: find mac
r
o precedence
b
ug
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
Dan C
a
rpenter
hooks:
add LO
G
IC_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
Da
n
C
a
rpe
n
ter
m
a
c
ro_t
a
ble:
t
ake the fil
e
i
nt
o
ac
c
ount
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpe
n
te
r
ma
c
ro_t
a
b
le: do not in
c
lude smatch
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpe
n
ter
f
l
ow: handl
e
logic things like: foo(a && a->bar
)
;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
sign
e
d: comparing
to li
t
e
rals together creates a fals
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan
Ca
r
penter
dere
f
_c
h
eck: remove the --spa
m
my option
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
D
a
n Car
p
enter
delete check_leaks
.
c: This c
h
eck was always worthless
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
D
an Carpe
n
ter
wine: fixup the no return
f
uncti
o
ns
a
bi
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
Dan
Ca
r
penter
m
acro_table
.
c: replacement for in_macro()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
Dan Car
p
enter
s
mall clea
n
up and a comment
c
h
ange
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
D
a
n
C
arpenter
*new* check_sn
p
rin
t
f: using the return val
u
e of snprintf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-15
Dan Car
p
ent
e
r
un
u
sed_retur
n
: pri
n
t function name that was ignor
e
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpenter
math: don'
t
pass negative n
u
mbers as absolute max for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan
C
a
rpenter
i
mplied: allow the kn
o
wn part to be a range lis
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan
Carpen
t
er
math: fix get_absolu
t
e_mi
n
/max() for sizeof()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpenter
extra: make do
_
c
o
m
parison(
)
handle two variables
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carp
e
nter
r
anges: introduce free_range
_
list
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan C
a
rpenter
range
s
:
introduce possibl
y
_true/false_range_lists()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpent
e
r
pr
e
ce
d
e
n
ce: don't c
o
mplain ab
o
ut if foo is
0-1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpenter
e
xtra:
c
l
e
anup: rename do_comparis
o
n_
r
ange() =
>
do_
c
omparison()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Ca
r
p
e
nter
known_condition
_
t
r
ue/false()
:
h
andle express
i
on s
t
ateme
n
ts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-07
Dan Carpenter
*new*
c
he
c
k
_
k
unmap():
confusio
n
between
k
m
ap() and
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-02
Da
n
C
a
r
p
ente
r
*new*
s
match_scrip
t
s/unlocked_paths
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-01
Dan Carpe
n
ter
f
low: cleanup: make split
_
func
t
ion() it's own function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Dan
C
a
r
pent
e
r
deref_ch
e
ck: u
s
e in_m
a
cro()
to silence m
o
st of
t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Dan Carpenter
math: int
r
oduce get
_
a
bsolute_min
/
max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Car
p
enter
ma
t
h
: cleanup: ren
a
me get
_
i
m
p
l
ied_single_fuzzy
_
max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
math: cl
e
an
u
p: sh
u
ffle
s
ome
f
u
n
ctions aroun
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
math: c
l
eanup: g
e
t rid of th
e
*discard
thing
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpen
t
er
math: c
l
ean
u
p
: get rid of IMPLIED_SIN
G
LE
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Car
p
en
t
er
d
elete c
h
eck_nu
l
l
_
d
e
ref
.
c and clean up valid
a
tion/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
f
l
ow:
t
he next
statement should never be the current
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan
Ca
r
penter
*n
e
w
* check_
c
heck_deref
.
c:
checking f
o
r null inconsiste
n
tly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpe
n
ter
*new* check_no_effect
:
pr
i
nt wa
r
nings
statements that
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpenter
setup def
a
ult modification hooks in set_true_false_
s
t
ates()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpente
r
introduce i
n
_macro() which
r
eturns true if
w
e're in
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-25
Dan Carpenter
intro
d
uce: in_expressio
n
_statem
e
nt() and
r
e
name get
_
blo
c
k_th
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-24
D
a
n Car
p
ent
e
r
ch
u
rn: rename __s
p
li
t
_stat
e
ments()
=
> __spli
t
_
s
tmt
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next