diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2019-10-18 01:47:00 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2019-11-05 08:56:24 -0300 |
| commit | d39083234c60519724c6ed59509a2129fd2aed41 (patch) | |
| tree | 6218d97587571531ed30bd6573c35749660eb163 /drivers/media/v4l2-core/v4l2-subdev.c | |
| parent | media: staging: media: cedrus: use devm_platform_ioremap_resource() to simpli... (diff) | |
| download | linux-d39083234c60519724c6ed59509a2129fd2aed41.tar.gz linux-d39083234c60519724c6ed59509a2129fd2aed41.zip | |
media: rcar_drif: fix a memory disclosure
"f->fmt.sdr.reserved" is uninitialized. As other peer drivers
like msi2500 and airspy do, the fix initializes it to avoid
memory disclosures.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions
