[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150821171116.GE26236@localhost>
Date: Fri, 21 Aug 2015 10:11:16 -0700
From: Olof Johansson <olof@...om.net>
To: Christian Engelmayer <cengelma@....at>
Cc: lee.jones@...aro.org, javier.martinez@...labora.co.uk,
gwendal@...omium.org, rspangler@...omium.org,
wfrichar@...omium.org, smbarber@...omium.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: cros_ec: Fix leak in sequence_store()
On Sat, Jul 18, 2015 at 07:30:33PM +0200, Christian Engelmayer wrote:
> The allocated cros_ec_command message structure is not freed in function
> sequence_store(). Make sure that 'msg' is freed in all exit paths.
> Detected by Coverity CID 1309667.
>
> Signed-off-by: Christian Engelmayer <cengelma@....at>
> ---
> Compile tested only. Applies against linux-next.
Applied with adjusted patch subject (platform/chrome: cros_ec: ..)
-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists