[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170821162139.GP3053@localhost>
Date: Mon, 21 Aug 2017 21:51:40 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Anton Vasilyev <vasilyev@...ras.ru>
Cc: Andy Gross <andy.gross@...aro.org>,
David Brown <david.brown@...aro.org>,
Dan Williams <dan.j.williams@...el.com>,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] dmaengine: qcom_hidma: avoid freeing an uninitialized
pointer
On Thu, Aug 10, 2017 at 06:54:25PM +0300, Anton Vasilyev wrote:
> If device_node np doesn't contain child or first child doesn't have
> property "reg" then hidma_mgmt_of_populate_channels() perfoms
> deallocation on uninitialized local variable res.
>
> The patch adds res initialization by NULL.
>
> Found by Linux Driver Verification project (linuxtesting.org).
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists