]> git.ipfire.org Git - thirdparty/qemu.git/commit
test/qtest/hace: Specify explicit array sizes for test vectors and hash results
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 May 2025 08:09:51 +0000 (16:09 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commit33627ab237168fa624435eb8ae87f82a2ba9d7f5
tree7b48c51dd605bca81fa989b8648867247858ebb2
parent70985b0ea776e0cd7d7ab2a173d9d35d31e8c21f
test/qtest/hace: Specify explicit array sizes for test vectors and hash results

To enhance code readability and prevent potential buffer overflows or unintended
size assumptions, this commit updates all fixed-size array declarations to use
explicit array sizes.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-20-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
tests/qtest/aspeed-hace-utils.c