RE: iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()
From: Ivan T. Ivanov
Date: Wed Jun 05 2024 - 10:49:41 EST
Hi,
I could we drop this CVE?
of_match_device() can not return NULL in this case.
Even commit message agree on this:
" ... In practice there is no known reasonable way to trigger this, but
in case one is added in future, harden the code by adding the check ..."
Regards,
Ivan