aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2024-10-03 07:06:45 +0000
committerVinod Koul <[email protected]>2024-10-03 07:58:51 +0000
commita489afc105ed55f7537fb158e40d083ee57a698b (patch)
tree27cc69247aafdbcf95a21750d9dbfe686dd7a533 /security/selinux/hooks.c
parentsoundwire: mipi-disco: remove DPn audio-modes (diff)
downloadkernel-a489afc105ed55f7537fb158e40d083ee57a698b.tar.gz
kernel-a489afc105ed55f7537fb158e40d083ee57a698b.zip
soundwire: mipi-disco: add error handling for property array read
The existing code assumes that there are no possible errors when using fwnode_property_read_u32_array(), because fwnode_property_count_u32() reads this array to determine its number of elements. We need to also protect the second read to be completely bullet-proof. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions