From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A705863DF for ; Tue, 10 Oct 2023 06:17:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OaW38fiW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2197C433C8; Tue, 10 Oct 2023 06:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696918658; bh=h9CQdICcdTHsa/KeLMNYowXLwDNi+8QMgSiaxa80wo4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OaW38fiWbCpjKJ29idyZEI7/RIt1LUKvUgreoSf6oZilIa4q8T8h72Y+V0h7I37zM LLsP9YrEXsxMay67paITpYl/Ub626lejzaDLtfiy0NrlIVMxzmrKpO7KQwg4kICxov UH2l6a2EOaVI7wR37HfAy68QjwIpFmIDhE27dec2C4510HQm/W/AO6r1Ba3W7qZ2a1 6RxxvBN+tn+EbaSorn/135go0Mtzq7ki+5YUal576uhp26B/MA9f1H5DkaZ7Tfrodn 5VVUYPtL+XnINVnHuVA2ZU40yqp/oArel3qTXsTUYjhmECkAywYLSrio0UuuVwSCt0 65KoGNTBklfGA== From: Kalle Valo To: Kees Cook Cc: "Gustavo A. R. Silva" , "Gustavo A. R. Silva" , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH][next] hostap: Add __counted_by for struct prism2_download_data and use struct_size() References: <202310091253.665A9C9@keescook> <169f782e-9cc4-49bc-9618-ca6acc526e37@embeddedor.com> <202310091341.74A2D82BB@keescook> Date: Tue, 10 Oct 2023 09:17:34 +0300 In-Reply-To: <202310091341.74A2D82BB@keescook> (Kees Cook's message of "Mon, 9 Oct 2023 13:42:12 -0700") Message-ID: <877cnv57cx.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-hardening@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Kees Cook writes: >> > Should this be considered a v2 of: >> > https://lore.kernel.org/linux-hardening/94848cc3-6f5c-46d7-8cc7-98a4f10865b3@embeddedor.com/ >> > >> > ? >> >> 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