Re: [PATCH] regulator: max8649: Fix NULL pointer dereference in probe
From: Mark Brown
Date: Wed Aug 26 2026 - 09:40:39 EST
On Tue, Aug 25, 2026 at 05:01:15PM +0800, Yang Zi wrote:
> max8649_regulator_probe() dereferences pdata->mode without first checking
> that platform data is available. When the device is instantiated without
> platform data, pdata is NULL and probe crashes with a NULL pointer
> dereference.
This doesn't apply against curent code, please check and resend.
Attachment:
signature.asc
Description: PGP signature