diff options
author | Tommy Murphy <tommy_murphy@hotmail.com> | 2024-10-02 21:08:24 +0100 |
---|---|---|
committer | Tommy Murphy <tommy_murphy@hotmail.com> | 2024-10-03 09:37:28 +0100 |
commit | 16fa57da41d3db444609a94e141e815ab1f6513b (patch) | |
tree | bbdfa9c70e24d8449d0b6d0a7ffaade22a1db9ce /git-hooks/commit-msg | |
parent | 841b61adf3ff26c89d404d3718f82766bc221d55 (diff) | |
download | riscv-openocd-16fa57da41d3db444609a94e141e815ab1f6513b.zip riscv-openocd-16fa57da41d3db444609a94e141e815ab1f6513b.tar.gz riscv-openocd-16fa57da41d3db444609a94e141e815ab1f6513b.tar.bz2 |
Fix riscv013_invalidate_cached_progbuf() off by one error
See https://github.com/riscv-collab/riscv-openocd/issues/1139
riscv013_invalidate_cached_progbuf() was failing to zeroize the final
buffer array element. Use memset() instead of a manual loop to zeroize
it in order to address this and simplify the code.
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions