Re: [PATCH] arm/crc-t10dif: fix use of out-of-scope array in crc_t10dif_arch()
From: Eric Biggers
Date: Thu Mar 27 2025 - 12:43:25 EST
On Wed, Mar 26, 2025 at 01:08:12PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Fix a silly bug where an array was used outside of its scope.
>
> Fixes: 1684e8293605 ("arm/crc-t10dif: expose CRC-T10DIF function through lib")
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: David Binderman <dcb314@xxxxxxxxxxx>
> Closes: https://lore.kernel.org/r/AS8PR02MB102170568EAE7FFDF93C8D1ED9CA62@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> arch/arm/lib/crc-t10dif-glue.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied to https://web.git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next
- Eric