[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFd5g44UjOfGwpCdCTQ7-0rPTXoWLvDcYAbekQ-JMtNsYHZneQ@mail.gmail.com>
Date: Mon, 31 Jul 2017 11:20:29 -0700
From: Brendan Higgins <brendanhiggins@...gle.com>
To: Joel Stanley <joel@....id.au>
Cc: Wolfram Sang <wsa@...-dreams.de>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Patrick Venture <venture@...gle.com>,
linux-i2c@...r.kernel.org,
OpenBMC Maillist <openbmc@...ts.ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] i2c: aspeed: fixed potential null pointer dereference
On Mon, Jul 31, 2017 at 2:27 AM, Joel Stanley <joel@....id.au> wrote:
> On Sat, Jul 29, 2017 at 10:30 AM, Brendan Higgins
> <brendanhiggins@...gle.com> wrote:
>> Before I skipped null checks when the master is in the STOP state; this
>> fixes that.
>>
>> Signed-off-by: Brendan Higgins <brendanhiggins@...gle.com>
>
> Acked-by: Joel Stanley <joel@....id.au>
>
> Out of interest, was this found by code review, or did you hit this in testing?
I am pretty sure we hit it in testing. Unfortunately, we had trouble reproducing
it, but we did see a null pointer dereference.
>
> Cheers,
>
> Joel
Powered by blists - more mailing lists