Re: [PATCH] drivers: staging: iio: adc: fix uninitialized use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks one of Dan Carpenter's patches in the staging-next tree -- f88af7e --
already fixes this; disregard my patch.

-- Chris

On Wed, Jul 6, 2011 at 3:36 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Sun, Jul 03, 2011 at 01:47:01PM +1200, Chris Forbes wrote:
>> Fixed an uninitialized variable access. In the first two error paths in
>> max1363_probe(), 'st' is not yet initialized, but its 'reg' member is
>> accessed anyway. This would most likely crash.
>>
>> The intended value for st->reg *is* available at that point in 'reg',
>> so just use that directly.
>
> This doesn't apply anymore, care to redo it against the latest
> staging-next branch and resend?
>
> thanks,
>
> greg k-h
>
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux