leak in net/dccp/ipv4.c
PATCH 1/1 leak in net/dccp/ipv4.c
hi,
we dont free req if we cant parse the options.
This fixes coverity bug id #1046
Signed-off-by Eric Sesterhenn <[email protected]>
net/dccp/ipv4.c renamed from net/dccp/ipv4.c.orig +1 -1
@@ -498,7 +498,7 @@ int dccp_v4_conn_request(struct sock *sk goto drop;if (dccp_parse_options (sk, skb)) - goto drop; + goto drop_and_free;dccp_openreq_init (req, &dp, skb);
From: Eric Sesterhenn <[email protected]>
Date: Tue, 11 Apr 2006 00:07:26 +0200
Quoted 4 lines
we dont free req if we cant parse the options.
This fixes coverity bug id #1046Signed-off-by Eric Sesterhenn <[email protected]>
Looks good.
Applied, thanks Eric.
Em Mon, Apr 10, 2006 at 04:43:16PM -0700, David S. Miller escreveu:
Quoted 11 lines
From: Eric Sesterhenn <[email protected]>
Date: Tue, 11 Apr 2006 00:07:26 +0200Quoted 4 lines
we dont free req if we cant parse the options.
This fixes coverity bug id #1046Signed-off-by Eric Sesterhenn <[email protected]>Looks good.
Applied, thanks Eric.
Thanks everybody.
- Arnaldo