linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt
@ 2024-07-10 23:09 Kees Cook
  2024-07-10 23:09 ` [PATCH 1/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace 1-element array with flexible array Kees Cook
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Kees Cook @ 2024-07-10 23:09 UTC (permalink / raw)
  To: Stanimir Varbanov
  Cc: Kees Cook, Vikash Garodia, Bryan O'Donoghue,
	Mauro Carvalho Chehab, Gustavo A. R. Silva, linux-kernel,
	linux-media, linux-arm-msm, linux-hardening

Hi,

This replaces the 1-element "fake" flexible array in struct
hfi_session_release_buffer_pkt with a modern flexible array and adds
the __counted_by annotation that was identified during the analysis.

Thanks!

-Kees

Kees Cook (2):
  media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace
    1-element array with flexible array
  media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Add
    __counted_by annotation

 drivers/media/platform/qcom/venus/hfi_cmds.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-08-23  0:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 23:09 [PATCH 0/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt Kees Cook
2024-07-10 23:09 ` [PATCH 1/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Replace 1-element array with flexible array Kees Cook
2024-07-10 23:16   ` Gustavo A. R. Silva
2024-07-11 12:19   ` Bryan O'Donoghue
2024-07-12 13:27   ` Vikash Garodia
2024-08-08  7:39   ` Dikshita Agarwal
2024-07-10 23:09 ` [PATCH 2/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt: Add __counted_by annotation Kees Cook
2024-07-10 23:17   ` Gustavo A. R. Silva
2024-07-11 12:19   ` Bryan O'Donoghue
2024-07-12 13:27   ` Vikash Garodia
2024-08-08  7:39   ` Dikshita Agarwal
2024-08-23  0:00 ` [PATCH 0/2] media: venus: hfi_cmds: struct hfi_session_release_buffer_pkt Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).