diff options
author | Sebastiaan de Schaetzen <sebastiaan.de.schaetzen@gmail.com> | 2021-07-27 15:06:57 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-08-22 20:21:47 +0000 |
commit | 013a0e88d2a6e4626987e9fbe056ee1d40026933 (patch) | |
tree | f1e96bbc0d956822b752c762040717ee1f4ab710 /AUTHORS | |
parent | 085dd21a16c84874fddd76b07a995afae9af182a (diff) | |
download | riscv-openocd-013a0e88d2a6e4626987e9fbe056ee1d40026933.zip riscv-openocd-013a0e88d2a6e4626987e9fbe056ee1d40026933.tar.gz riscv-openocd-013a0e88d2a6e4626987e9fbe056ee1d40026933.tar.bz2 |
rtos/riot: fix out-of-bounds writes when target is corrupted
This protects against out-of-bounds writes when the memory
of RIOT's scheduler is corrupted.
This memory can be corrupted because of:
- Programming errors
- The scheduler not yet having been initialised
- An incorrect symbol file being used during debugging.
This error can result in OpenOCD segfaulting. Valgrind was
used to find the approximate location of the error.
Change-Id: I60e7d7c245b8c4e38f4c98cb0c0347a9b5ec3177
Signed-off-by: Sebastiaan de Schaetzen <sebastiaan.de.schaetzen@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6381
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions