commit | 748cbaabb0affd49703e19556c2cb398bbb37b12 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Feb 01 03:01:54 2021 +0100 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 03 03:38:41 2021 -0700 |
tree | daaf7db3ddddf0ff1504821691459ec254f6ad27 | |
parent | 2165d0cacb93d47efee4653b3142ffae1cf58278 [diff] |
firmware: smci: possible NULL dereference sandbox_scmi_devices_ctx() may return NULL. We should not dereference this value in sandbox_scmi_devices_remove(). The problem was indicated by 'gcc-11 -fanalyzer'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>