[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1729074076.git.mchehab+huawei@kernel.org>
Date: Wed, 16 Oct 2024 12:22:16 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To:
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Krzysztof HaĆasa <khalasa@...p.pl>,
Andrzej Pietrasiewicz <andrzejtp2010@...il.com>,
Hans Verkuil <hverkuil@...all.nl>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Martin Tuma <martin.tuma@...iteqautomotive.com>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev
Subject: [PATCH 00/13] Media: fix several issues on drivers
There are a number of issues that aren't passing on some static analyzer
checks.
Address some of them.
Mauro Carvalho Chehab (13):
media: v4l2-ctrls-api: fix error handling for v4l2_g_ctrl()
media: v4l2-tpg: prevent the risk of a division by zero
media: dvbdev: prevent the risk of out of memory access
media: dvb_frontend: don't play tricks with underflow values
media: mgb4: protect driver against spectre
media: av7110: fix a spectre vulnerability
media: s5p-jpeg: prevent buffer overflows
media: ar0521: don't overflow when checking PLL values
media: cx24116: prevent overflows on SNR calculus
media: adv7604 prevent underflow condition when reporting colorspace
media: stb0899_algo: initialize cfr before using it
media: cec: extron-da-hd-4k-plus: don't use -1 as an error code
media: pulse8-cec: fix data timestamp at pulse8_setup()
.../extron-da-hd-4k-plus.c | 6 ++---
drivers/media/cec/usb/pulse8/pulse8-cec.c | 2 +-
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 3 +++
drivers/media/dvb-core/dvb_frontend.c | 4 +--
drivers/media/dvb-core/dvbdev.c | 17 ++++++++++--
drivers/media/dvb-frontends/cx24116.c | 7 ++++-
drivers/media/dvb-frontends/stb0899_algo.c | 2 +-
drivers/media/i2c/adv7604.c | 26 ++++++++++++-------
drivers/media/i2c/ar0521.c | 4 +--
drivers/media/pci/mgb4/mgb4_cmt.c | 2 ++
.../platform/samsung/s5p-jpeg/jpeg-core.c | 17 +++++++-----
drivers/media/v4l2-core/v4l2-ctrls-api.c | 10 ++++---
drivers/staging/media/av7110/av7110.h | 4 ++-
drivers/staging/media/av7110/av7110_ca.c | 25 ++++++++++++------
14 files changed, 90 insertions(+), 39 deletions(-)
--
2.47.0
Powered by blists - more mailing lists