[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180704.220955.1860389897740014414.davem@davemloft.net>
Date: Wed, 04 Jul 2018 22:09:55 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: weiyongjun1@...wei.com
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
amir@...ai.me, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: sched: act_pedit: fix possible memory
leak in tcf_pedit_init()
From: Wei Yongjun <weiyongjun1@...wei.com>
Date: Tue, 3 Jul 2018 13:45:12 +0000
> 'keys_ex' is malloced by tcf_pedit_keys_ex_parse() in tcf_pedit_init()
> but not all of the error handle path free it, this may cause memory
> leak. This patch fix it.
>
> Fixes: 71d0ed7079df ("net/act_pedit: Support using offset relative to the conventional network headers")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied.
Powered by blists - more mailing lists