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
remove check_le16.c
2010-08-24
Dan Car
p
enter
remove check_le16
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-24
D
a
n
C
arpenter
Update s
m
atch_da
t
a to 2
.
6
.
36-rc2 [patch 1 of more]
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-24
Da
n
Carpenter
kern
e
l: contain
e
r_of()
r
e
turns a non-NULL pointer
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-24
Dan Carpenter
Introduce ad
d
_mac
r
o_ass
i
gn_hook()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-21
Dan
Carp
e
nte
r
fix out of memory handl
i
ng
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-18
Dan Carpenter
New fu
n
ctions r
e
turns_unsigne
d
() and ret
u
r
ns_
p
ointer()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-18
Dan
Carpenter
*new* check_info
_
leak
.
c:
p
laces
t
h
a
t pass un-
z
e
roed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-18
Dan
C
arpenter
*new* check_return_eno
m
em:
complain about returning
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-04
Dan
C
a
rpenter
*new* platfor
m
_
d
evi
c
e_put() vs p
l
atform_dev
i
ce_del()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-03
Dan
Carpent
e
r
u
n
w
ind:
lit
e
rals hi
g
her than zero
a
re not an
e
rror
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-03
Dan
Carpe
n
ter
implied: only
print the nr_children messages if there
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-03
D
a
n Carpen
t
er
unwind: regi
s
ter unwind functio
n
s that unw
i
nd e
v
er
y
th
i
ng
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-03
Dan Ca
r
pen
t
er
unwin
d
: up
d
ate equivalent states
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-02
Dan
C
arpe
n
ter
e
x
t
ra: clean
u
p unused vari
a
bles
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-02
D
an Ca
r
penter
equiv: update
v
alidat
i
on test
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-02
Dan Carp
e
nte
r
extra
:
handle WARN_
O
N(func
(
&set_this_pointer));
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-02
Dan Carpenter
buf_siz
e
: I broke initiali
z
er
h
a
n
dl
i
n
g
b
y mis
t
ake
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-02
D
an Ca
r
pent
e
r
oops
.
f
i
x com
p
ile erro
r
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-02
Dan C
a
rpenter
buf
_
size
:
re
m
ove memset() and me
m
m
o
v
e()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-01
D
an Carpenter
implied_not_equal: hand
l
e literals
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-08-01
Dan
Carpenter
re
s
ource: cra
s
hing bug on incorrect input
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
arpe
n
ter
buf_size:
ignore dynamica
l
ly sized arrays
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
D
a
n Carpenter
buf_size: add support f
o
r memdup(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
Da
n
C
arp
e
nter
buf_size: ad
d
suppo
r
t for strndup()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
b
u
f_s
i
ze:
u
se
s
trcpy() t
o
d
etermine t
h
e size
o
f the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
D
a
n Carpen
t
er
buf_size:
use strn
c
p
y() and frien
d
s t
o
set t
h
e buf
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
buf_size:
w
hitespace chang
e
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
Da
n
Carpen
t
er
overflow: remove unu
s
ed fu
n
ctions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
D
an Carpenter
buf_siz
e
: us
e
alloc_
s
tate_num()
in
s
tead
o
f
c
ustom
v
ersion
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
ar
p
en
t
er
buf_si
z
e: re
m
ov
e
unused
definition
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-31
Dan Ca
r
p
e
nter
overflow: make
a
r
r
ay size tracking
i
nto a libra
r
y function
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-30
Dan Car
p
enter
unwind: add pc
i
_iomap() and pci_iounmap()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-29
Da
n
Car
p
enter
*new* check_kmalloc_to_bugon
:
don't call bug_on(
)
f
or
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-29
Da
n
Carp
e
nt
e
r
*
n
ew* check_unwind: check
that module_
i
nit functi
o
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-21
Dan Carpe
n
ter
core: pro
c
ess inline stat
e
m
e
nts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-21
D
a
n Carpenter
flow:
h
andle
a
sm
statements
correctly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-19
Dan Ca
r
pente
r
Merge git:/
/
git
.
ke
r
nel
.
org/pub/scm/
d
evel/sparse/chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-07-19
Dan Car
p
enter
add ubifs_a
s
ser
t
() to
lis
t
of assert macros that c
a
l
l
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-19
Dan C
a
rpenter
chec
k
_
d
ma: add a check for foo = kmal
l
o
c(sizeof(*foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-14
Dan
C
arpenter
signed: unsign
e
d var
i
a
bles
ar
e
allowed to do math with
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-09
D
a
n Carpenter
overflow
:
ha
n
dle "if (
s
trle
n
(foo
)
< 1
0
) {
.
.
.
"
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-09
Dan C
a
rpe
n
ter
overflow:
a
d
d support for strlen()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-08
Ti
l
man
S
auerbeck
Warn if random pointers are us
e
d as
sou
r
ce buffers
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-08
Dan Carpenter
leaks: repl
a
ce check
_
mem
o
r
y
.
c
w
ith a r
e
wr
i
te chec
k
_
l
e
ak
s
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-08
D
a
n Carpen
t
er
ge
t
_variable_fro
m
_expr_complex(): return prop
e
r symbol
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-06
Tilma
n
Sauer
b
e
c
k
Added a te
s
t case for the recen
t
ly introduced extended
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-06
Da
n
Ca
r
penter
Makefile: sm
a
ll whitespace c
h
ange
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-06
Da
n
Carpent
e
r
memory: re
m
ove the warnings a
b
out free
d
memor
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-06
T
ilman
S
au
e
rb
e
ck
Find leaks
that occur by
set
t
ing pointe
r
s
to allocat
e
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-06
Tilman S
a
uerbeck
Added a
simple test ca
s
e for the doubl
e
fre
e
c
h
ecker
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpen
t
er
check_fr
e
e: crea
t
e
a sepa
r
ate check fo
r
misusing
f
reed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-07-05
Dan Carpe
n
ter
related:
r
en
a
m
e din
f
o->e
q
u
iv t
o
dinfo->relat
e
d
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpenter
constraints: shuffle things
aroun
d
a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-30
D
a
n C
a
rpen
t
er
*new* scri
p
ts/generisize
.
pl
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpenter
type: allow the parameter to
be null for
t
ype_unsign
e
d(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-15
Dan Carp
e
n
t
er
r
edo t
h
e igno
r
e
d_m
a
cro
s
stuff pro
p
erly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
c
on
d
ition
s
:
f
i
x memory lea
k
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-14
D
an Carp
e
nter
elim
i
na
t
e som
e
new
"statement has n
o
effect" false
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
get rid of g
e
t_next_s
t
mt()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
core:
h
an
d
l
e "foo =
(
{
f
rob();
f
rob
(
);
f
rob();
1
;})
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpen
t
er
locking: add spin
_
try
l
o
c
k_irqsave()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-14
D
an Carpen
t
er
fi
x
crashing bug
caused by
t
he little endian chec
k
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
e
xtra: ignore WARN_ON()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-11
Dan
C
arpenter
err_p
t
r: remove
j
edec_p
r
obe() from err_pt
r
li
s
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpe
n
ter
sn
p
rintf: turn off be default
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpe
n
ter
validation:
u
pd
a
te overf
l
o
w test
to
a
d
d qu
o
t
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
con
d
i
t
i
o
ns: fi
x
handling of __b
u
il
t
in_con
s
tan
t
_p()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-10
D
an Carpenter
ove
r
f
l
o
w
:
ad
d
quotes around variable names
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpenter
o
v
erflow: ignore arr
a
y
s
with only on
e
element
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpe
n
ter
o
v
erf
l
ow: add calloc() suppor
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-10
Dan Ca
r
penter
over
f
low: check f
o
r c
o
py
_
to_u
s
er() overflows
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-09
Dan
C
arpenter
memo
r
y
:
f
i
x leak fals
e
posi
t
i
v
es ca
u
sed by
"
foo
= bar
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-08
Da
n
Carpent
e
r
le16
:
fix false posi
t
i
v
e
s
an
d
turn on
by def
a
ult
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-08
Dan Carpent
e
r
macro: the first ma
c
ro added is the o
n
e
to keep
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-08
D
a
n
Carpenter
memory:
a
dd qu
o
tes in
output
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-07
Dan
Carpe
n
te
r
flow: fi
x
"if();
"
false positives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-07
D
a
n
C
arpenter
extra: tw
e
ak assignment of
unsigned
v
al
u
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-05
Dan Carpenter
smatch_ext
r
a: cleanup match_assi
g
n
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-04
Dan
Carpenter
return_
e
fault: find
m
ore
bugs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-03
Dan Ca
r
penter
*new* return_
e
fault: l
o
oks fo
r
p
l
ac
e
s
tha
t
s
hould return
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-03
Dan Carpenter
smatch_type: fix
_
_bitw
i
se__ ha
n
dling
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-02
Da
n
Carpenter
U
p
date smatch_
d
ata/ for
2
.
6
.
35-r
c
1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-06-02
Dan
C
arpen
t
er
*new* propag
a
te: check
that error codes g
e
t pr
o
pagated
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-29
Dan Carpenter
err_pt
r
_dere
f
: don't com
p
l
a
in if
t
he
vari
a
b
le is null
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-26
Dan
Carpe
n
te
r
*
new
*
che
c
k_mac
r
os:
f
ind macro
p
recedence bug
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-25
Dan Carpe
n
ter
hooks:
add
L
OG
I
C_HOOK
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-25
Dan Carpenter
macro_tabl
e
:
t
a
k
e t
h
e fil
e
i
nto acc
o
u
n
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
m
a
cro_table: do not
i
nclu
d
e
smatch
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
flow: handle logic
things like
:
f
o
o(a && a->bar);
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
D
a
n Carpenter
sign
e
d: comparing to liter
a
ls together creates a fa
l
se
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
deref_ch
e
c
k
: rem
o
ve
t
h
e --spammy option
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
Dan
Ca
r
penter
d
e
lete check_leaks
.
c
: This c
h
eck was always w
o
rthless
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-20
Dan Carpenter
w
i
n
e
: fi
x
up the no return fun
c
tions a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-20
Dan Carpenter
macr
o
_
t
able
.
c:
r
eplacement
for in_macro
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-18
Dan Carpente
r
small
c
lean
u
p
a
nd a comment c
h
ange
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-18
Da
n
Ca
r
penter
*new* ch
e
ck_snprintf:
usin
g
the return value of snprin
t
f
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-15
Dan Carpenter
u
nused_retur
n
:
print funct
i
on name that was ignored
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
Da
n
Ca
r
p
e
nter
mat
h
: don't p
a
ss negative
numb
e
rs as ab
s
olute max for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpen
t
er
implied: al
l
o
w
the known p
a
r
t
to be a range l
i
st
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpente
r
math
:
fix get_absolute
_
min/max() for siz
e
of()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next