projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4e54de
)
[NETFILTER]: H.323 helper: fix possible NULL-ptr dereference
author
Patrick McHardy
<kaber@trash.net>
Tue, 25 Jul 2006 05:52:10 +0000
(22:52 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 25 Jul 2006 05:52:10 +0000
(22:52 -0700)
An RCF message containing a timeout results in a NULL-ptr dereference if
no RRQ has been seen before.
Noticed by the "SATURN tool", reported by Thomas Dillig <tdillig@stanford.edu>
and Isil Dillig <isil@stanford.edu>.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_helper_h323.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/ip_conntrack_helper_h323.c
b/net/ipv4/netfilter/ip_conntrack_helper_h323.c
index af35235672d58f9ce0ec320073b838930b0352a7..9a39e2969712701d0ab45b9bb0dcd1d3c6ccf0e6 100644
(file)
--- a/
net/ipv4/netfilter/ip_conntrack_helper_h323.c
+++ b/
net/ipv4/netfilter/ip_conntrack_helper_h323.c
@@
-1200,7
+1200,7
@@
static struct ip_conntrack_expect *find_expect(struct ip_conntrack *ct,
tuple.dst.protonum = IPPROTO_TCP;
exp = __ip_conntrack_expect_find(&tuple);
- if (exp->master == ct)
+ if (exp
&& exp
->master == ct)
return exp;
return NULL;
}