[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160913.112903.594164723942368702.davem@davemloft.net>
Date: Tue, 13 Sep 2016 11:29:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: weiyj.lk@...il.com
Cc: jon.maloy@...csson.com, ying.xue@...driver.com,
richard.alpe@...csson.com, weiyongjun1@...wei.com,
netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH -next] tipc: fix possible memory leak in
tipc_udp_enable()
From: Wei Yongjun <weiyj.lk@...il.com>
Date: Sat, 10 Sep 2016 00:56:55 +0000
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> 'ub' is malloced in tipc_udp_enable() and should be freed before
> leaving from the error handling cases, otherwise it will cause
> memory leak.
>
> Fixes: ba5aa84a2d22 ("tipc: split UDP nl address parsing")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists