linux-stable/drivers/staging/vc04_services
Stefan Wahren 3b424f6586 staging: vchiq_core: handle NULL result of find_service_by_handle
[ Upstream commit ca225857fa ]

In case of an invalid handle the function find_servive_by_handle
returns NULL. So take care of this and avoid a NULL pointer dereference.

Reviewed-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1642968143-19281-18-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-13 19:27:23 +02:00
..
bcm2835-audio staging: vc04_services: bcm2835-audio: avoid the use of typedef for function pointers 2021-12-30 14:19:53 +01:00
bcm2835-camera staging: vc04_services: rename BM2835 to BCM2835 in headers comments 2022-01-06 14:49:34 +01:00
include/linux/raspberrypi staging: vc04_services: fix a whitespace coding style issue 2021-05-19 17:59:00 +02:00
interface staging: vchiq_core: handle NULL result of find_service_by_handle 2022-04-13 19:27:23 +02:00
vchiq-mmal staging: vc04_services: rename BM2835 to BCM2835 in headers comments 2022-01-06 14:49:34 +01:00
Kconfig staging: vchiq: Add details to Kconfig help texts 2021-08-10 12:08:46 +02:00
Makefile staging: vchiq: Combine vchiq platform code into single file 2021-07-27 15:23:25 +02:00