Skip to content
Snippets Groups Projects
Commit b8282dcf authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by David S. Miller
Browse files

[DCCP]: Fix leak in net/dccp/ipv4.c


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

Signed-off-by: default avatarEric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b7595b49
No related branches found
No related tags found
No related merge requests found
......@@ -498,7 +498,7 @@ int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
goto drop;
if (dccp_parse_options(sk, skb))
goto drop;
goto drop_and_free;
dccp_openreq_init(req, &dp, skb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment