summaryrefslogtreecommitdiff
path: root/drivers/gpio/imx_rgpio2p.c
diff options
context:
space:
mode:
authorBob Wolff <bob.wolff68@gmail.com>2024-02-27 15:57:03 -0800
committerTom Rini <trini@konsulko.com>2024-03-07 07:41:41 -0500
commit9522956605205d23fe99142547ca3227574d418a (patch)
tree7bb5ff48beb02cd32ca5c94cb066ecbdc98a75ac /drivers/gpio/imx_rgpio2p.c
parent6eb682bc7ea398fad4aadb612c690884e73edc03 (diff)
Check curve_name for null to avoid crash
If mixed rsa and ecdsa keys are specified in dtsi, an rsa key can be sent into the ecdsa verify. Without the ecdsa,curve property, this function will crash due to lack of checking the null pointer return. Signed-off-by: Bob Wolff <bob.wolff68@gmail.com>
Diffstat (limited to 'drivers/gpio/imx_rgpio2p.c')
0 files changed, 0 insertions, 0 deletions