mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] media: s2255: fix marker scan and bounds checks in save_frame
@ 2026-11-25 22:21 Elkin Cruz
  2026-11-25 22:21 ` [PATCH 1/2] media: s2255: validate transfer size, payload, and offset " Elkin Cruz
  2026-11-25 22:21 ` [PATCH 2/2] media: s2255: advance marker pointer and use unaligned reads " Elkin Cruz
  0 siblings, 2 replies; 3+ messages in thread
From: Elkin Cruz @ 2026-11-25 22:21 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: linux-media, linux-kernel, llvm, irogers, Elkin Cruz

I am trying out new Clang static analysis checks for kernel bug
classes, and they flagged this code as possibly buggy. The findings
were triaged/fixed and commit descriptions were drafted with help of AI,
then checked against linux-next (not runtime-tested on hardware).

Thanks,
Elkin

Elkin Cruz (2):
  media: s2255: validate transfer size, payload, and offset in
    save_frame
  media: s2255: advance marker pointer and use unaligned reads in
    save_frame

 drivers/media/usb/s2255/s2255drv.c | 79 +++++++++++++++++++-----------
 1 file changed, 50 insertions(+), 29 deletions(-)

-- 
2.56.1.839.g22a8290db9-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-25 22:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 22:21 [PATCH 0/2] media: s2255: fix marker scan and bounds checks in save_frame Elkin Cruz
2026-11-25 22:21 ` [PATCH 1/2] media: s2255: validate transfer size, payload, and offset " Elkin Cruz
2026-11-25 22:21 ` [PATCH 2/2] media: s2255: advance marker pointer and use unaligned reads " Elkin Cruz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®