From: Sergey Senozhatsky <senozhatsky@chromium.org>
To: Hangyu Hua <hbh25y@gmail.com>
Cc: mchehab@kernel.org, senozhatsky@chromium.org,
caihuoqing@baidu.com, hverkuil-cisco@xs4all.nl,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: dvb_vb2: fix possible out of bound access
Date: Thu, 24 Mar 2022 19:23:16 +0900 [thread overview]
Message-ID: <YjxGlIyYiULyAXy6@google.com> (raw)
In-Reply-To: <20220324080119.40133-1-hbh25y@gmail.com>
On (22/03/24 16:01), Hangyu Hua wrote:
> vb2_core_qbuf and vb2_core_querybuf don't check the range of b->index
> controlled by the user.
>
> Fix this by adding range checking code before using them.
>
> Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
next prev parent reply other threads:[~2022-03-24 10:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-24 8:01 Hangyu Hua
2022-03-24 10:23 ` Sergey Senozhatsky [this message]
2022-05-16 2:40 ` Hangyu Hua
2022-05-18 10:44 ` Hans Verkuil
2022-05-19 1:44 ` Hangyu Hua
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YjxGlIyYiULyAXy6@google.com \
--to=senozhatsky@chromium.org \
--cc=caihuoqing@baidu.com \
--cc=hbh25y@gmail.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®