Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1716695
| From | Vinod Koul <vinod.koul@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] dmaengine: qcom_hidma: avoid freeing an uninitialized pointer |
| Date | 2017-08-21 18:20 +0200 |
| Message-ID | <ugXAL-6Cy-49@gated-at.bofh.it> (permalink) |
| References | <ucY2m-7Ep-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] dmaengine: qcom_hidma: avoid freeing an uninitialized pointer Vinod Koul <vinod.koul@intel.com> - 2017-08-21 18:20 +0200
csiph-web