[PATCH] pinctrl: single: fix potential NULL dereference

Maxim Korotkov korotkov.maxim.s at gmail.com
Wed Jan 25 01:03:03 PST 2023


Dear Linus,
Will this patch be applied or rejected?
best regards, Max

On 18.11.2022 15:52, Tony Lindgren wrote:
> * Maxim Korotkov <korotkov.maxim.s at gmail.com> [221118 10:33]:
>> Added checking of pointer "function" in pcs_set_mux().
>> pinmux_generic_get_function() can return NULL and the pointer
>> "function" was dereferenced without checking against NULL.
> 
> Reviewed-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list