Re: [PATCH][next] hostap: Add __counted_by for struct prism2_download_data and use struct_size()

From: Kalle Valo
Date: Tue Oct 10 2023 - 02:17:42 EST


Kees Cook <keescook@xxxxxxxxxxxx> writes:

>> > Should this be considered a v2 of:
>> > https://lore.kernel.org/linux-hardening/94848cc3-6f5c-46d7-8cc7-98a4f10865b3@xxxxxxxxxxxxxx/
>> >
>> > ?
>>
>> Oops... sorry, I forgot I had reviewed this patch of yours.
>>
>> >
>> > Yours is more complete since it includes the struct_size() change...
>> >
>>
>> Should I resend this explicitly marking it as a v2?
>
> I defer to Kalle -- your Subject is more accurate, so perhaps let's just
> let this stand?

No need to resend. I marked Kees' version as Superseded so that I don't
accidentally take the wrong version.

In the title "wifi:" is missing but I can add that during commit.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches