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

From: Nicolas Dufresne

Date: Tue Nov 24 2026 - 14:02:04 EST


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

Attachment: signature.asc
Description: This is a digitally signed message part