Re: [PATCH] ACPI: APEI: Check NULL argument in exported symbol

From: Borislav Petkov
Date: Thu Sep 23 2021 - 16:48:25 EST


On Thu, Sep 23, 2021 at 12:56:10PM -0700, Vasyl Gomonovych wrote:
> Exported symbol apei_hest_parse is external API
> and should check pointer argument

Why?

All users pass a proper, non-NULL function pointer AFAICT.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette