linux-stable/drivers/staging/vc04_services
Dan Carpenter 8416da2df7 staging: vc04_services: fix information leak in create_component()
commit f37e76abd6 upstream.

The m.u.component_create.pid field is for debugging and in the mainline
kernel it's not used anything.  However, it still needs to be set to
something to prevent disclosing uninitialized stack data.  Set it to
zero.

Fixes: 7b3ad5abf0 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Cc: stable <stable@kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/2d972847-9ebd-481b-b6f9-af390f5aabd3@moroto.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-03 15:19:51 +02:00
..
bcm2835-audio
bcm2835-camera
include/linux/raspberrypi
interface
vchiq-mmal staging: vc04_services: fix information leak in create_component() 2024-04-03 15:19:51 +02:00
Kconfig
Makefile