Re: [PATCH] wifi: nl80211: Avoid address calculations via out of bounds array indexing
From: Jeff Johnson
Date: Tue Apr 30 2024 - 16:00:28 EST
On 4/30/2024 3:01 AM, Johannes Berg wrote:
> This really doesn't even seem right, shouldn't do pointer arithmetic on
> void pointers.
FWIW I argued this in the past in another context and Linus gave his opinion:
https://lore.kernel.org/all/CAHk-=whFKYMrF6euVvziW+drw7-yi1pYdf=uccnzJ8k09DoTXA@xxxxxxxxxxxxxx/