From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
To: minyard@acm.org, Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ipmi: Fix NULL pointer dereference in ssif_probe
Date: Fri, 31 Aug 2018 15:49:54 -0500 [thread overview]
Message-ID: <cc9d1a34-30df-ea99-a369-fe2f9c2138fb@embeddedor.com> (raw)
In-Reply-To: <6efd45da-8b35-b1c8-bd0e-148c578c99f5@acm.org>
On 8/31/18 2:15 PM, Corey Minyard wrote:
> On 08/31/2018 10:00 AM, Gustavo A. R. Silva wrote:
>> There is a potential execution path in which function ssif_info_find()
>> returns NULL, hence there is a NULL pointer dereference when accessing
>> pointer *addr_info*
>>
>> Fix this by null checking *addr_info* before dereferencing it.
>
> Thanks for catching this quickly, before it went out. It's merged into my next tree.
>
Glad to help. :)
Thanks
--
Gustavo
prev parent reply other threads:[~2018-08-31 20:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-31 15:00 Gustavo A. R. Silva
2018-08-31 19:15 ` Corey Minyard
2018-08-31 20:49 ` Gustavo A. R. Silva [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc9d1a34-30df-ea99-a369-fe2f9c2138fb@embeddedor.com \
--to=gustavo@embeddedor.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.org \
--cc=openipmi-developer@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®