Messages in this thread | | | Subject | Re: [PATCH v2] ipmi: Fix NULL pointer dereference in ssif_probe | From | "Gustavo A. R. Silva" <> | Date | Fri, 31 Aug 2018 15:49:54 -0500 |
| |
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
| |