All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] leak in net/dccp/ipv4.c
@ 2006-04-10 22:07 Eric Sesterhenn
  2006-04-10 23:43 ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sesterhenn @ 2006-04-10 22:07 UTC (permalink / raw)
  To: LKML; +Cc: acme

hi,

we dont free req if we cant parse the options.
This fixes coverity bug id #1046

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>

--- linux-2.6.17-rc1/net/dccp/ipv4.c.orig	2006-04-11 00:05:39.000000000 +0200
+++ linux-2.6.17-rc1/net/dccp/ipv4.c	2006-04-11 00:06:08.000000000 +0200
@@ -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);
 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-11  0:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 22:07 [Patch] leak in net/dccp/ipv4.c Eric Sesterhenn
2006-04-10 23:43 ` David S. Miller
2006-04-11  0:04   ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.