]> Savannah Git Hosting - gnulib.git/commit
mcel-tests: fix read overrun in test case
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Nov 2023 04:38:52 +0000 (20:38 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Nov 2023 04:39:10 +0000 (20:39 -0800)
commit05241959fff46d143842627d08ed0e72569d896e
tree857339288462fc77e495c07275f8a8a69c8c9a31
parentc6a7d77ef8f0bc092b628dad9cd0eec93cfb5c62
mcel-tests: fix read overrun in test case

* tests/test-mcel.c (main): Don’t overrun test input buffer.
Problem reported by Bruno Haible; found on CHERI-64.
ChangeLog
tests/test-mcel.c