Re: [GIT PULL for v6.5] media fixes (#94321)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: builder@xxxxxxxxxxx

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/20230825015419.0848a4bc@xxxxxxxx/
Build log: https://builder.linuxtv.org/job/patchwork/333715/
Build time: 00:00:00
Link: https://lore.kernel.org/linux-media/20230825015419.0848a4bc@xxxxxxxx

gpg: Signature made Thu 24 Aug 2023 11:52:18 PM UTC
gpg:                using RSA key F909AE68FC11DF09C1755C00085F3EBD8EE4E115
gpg: Good signature from "Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>" [ultimate]
gpg:                 aka "Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>" [ultimate]
gpg:                 aka "Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx>" [ultimate]
gpg:                 aka "Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx>" [ultimate]
gpg:                 aka "Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>" [ultimate]
gpg:                 aka "Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>" [ultimate]
gpg:                 aka "[jpeg image of size 3594]" [ultimate]


Build aborted due to a fatal error:
FAILED: patch patch patches/0001-media-vcodec-Fix-potential-array-out-of-bounds-in-en.patch doesn't apply:
Applying patch patches/0001-media-vcodec-Fix-potential-array-out-of-bounds-in-en.patch
can't find file to patch at input line 27
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From e7f2e65699e2290fd547ec12a17008764e5d9620 Mon Sep 17 00:00:00 2001
|From: Wei Chen <harperchen1110@xxxxxxxxx>
|Date: Thu, 10 Aug 2023 08:23:33 +0000
|Subject: media: vcodec: Fix potential array out-of-bounds in encoder
| queue_setup
|
|variable *nplanes is provided by user via system call argument. The
|possible value of q_data->fmt->num_planes is 1-3, while the value
|of *nplanes can be 1-8. The array access by index i can cause array
|out-of-bounds.
|
|Fix this bug by checking *nplanes against the array size.
|
|Fixes: 4e855a6efa54 ("[media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver")
|Signed-off-by: Wei Chen <harperchen1110@xxxxxxxxx>
|Cc: stable@xxxxxxxxxxxxxxx
|Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
|Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx>
|---
| drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c | 2 ++
| 1 file changed, 2 insertions(+)
|
|diff --git a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c
|index 9ff439a50f53..315e97a2450e 100644
|--- a/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c
|+++ b/drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch patches/0001-media-vcodec-Fix-potential-array-out-of-bounds-in-en.patch does not apply (enforce with -f)




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux