[PATCH 3/7] media: rkvdec: hevc: bound the RPS reads by the control size

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Nov 24 11:01:49 PST 2026


Le vendredi 20 novembre 2026 à 23:23 +0000, Daniel Golle a écrit :
> Rejecting when the control is set does not work, as the count and the
> array are separate controls which can be set in any order, also in
> different requests. The first point where both are known is when the
> request is applied in device_run.

Maybe we should have added validation in MEDIA_REQUEST_IOC_QUEUE ... Might not
be a totally missed opportunity, and would give an immediate result to user.
That being said, its does not invalidate your changes, so no action for this
specific comment.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20261124/c1d18c69/attachment.sig>


More information about the Linux-rockchip mailing list