[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH3ygc2bEphf50oTxDjRNVNfLw96x5w5L88w2DVfAHOKgkEHRQ@mail.gmail.com>
Date: Wed, 6 Jul 2011 15:57:53 +1200
From: Chris Forbes <chrisf@....co.nz>
To: Greg KH <greg@...ah.com>
Cc: Greg Kroah-Hartman <gregkh@...e.de>, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: staging: iio: adc: fix uninitialized use
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@...ah.com> 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
>
--
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