summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2023-12-25 22:03:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-13 14:04:56 +0300
commit161d6b803778c5a825d50bed14cfafe9b29e52ad (patch)
treef6fc955493bf10b11b00f66d3d2f6ab5d659cffd /drivers/net/wireless
parent8af60bb2b215f478b886f1d6d302fefa7f0b917d (diff)
downloadlinux-161d6b803778c5a825d50bed14cfafe9b29e52ad.tar.xz
firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename()
[ Upstream commit 1315848f1f8a0100cb6f8a7187bc320c5d98947f ] The kfree() function was called in one case by the get_filename() function during error handling even if the passed variable contained a null pointer. This issue was detected by using the Coccinelle software. Thus return directly after a call of the function “kzalloc” failed at the beginning. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions