]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm/crc-t10dif: fix use of out-of-scope array in crc_t10dif_arch()
authorEric Biggers <ebiggers@google.com>
Wed, 26 Mar 2025 20:08:12 +0000 (13:08 -0700)
committerEric Biggers <ebiggers@google.com>
Wed, 26 Mar 2025 21:04:38 +0000 (14:04 -0700)
commit3371f569223c4e8d36edbb0ba789ee5f5cb7316f
tree050a9b1fb61b8411cdc8f75434e0141669c9e35a
parent1e26c5e28ca5821a824e90dd359556f5e9e7b89f
arm/crc-t10dif: fix use of out-of-scope array in crc_t10dif_arch()

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@vger.kernel.org
Reported-by: David Binderman <dcb314@hotmail.com>
Closes: https://lore.kernel.org/r/AS8PR02MB102170568EAE7FFDF93C8D1ED9CA62@AS8PR02MB10217.eurprd02.prod.outlook.com
Link: https://lore.kernel.org/r/20250326200812.125574-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
arch/arm/lib/crc-t10dif-glue.c