diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-03-15 07:24:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-03-16 07:35:27 +0100 |
commit | b837c8386954b2aff5ee563ffec4383cb4052a43 (patch) | |
tree | 0395dc4c771a0d8bca2c19fe15ac9502c5cdcedc /wscript | |
parent | bsps/irq: Improve affinity set handling (diff) | |
download | rtems-b837c8386954b2aff5ee563ffec4383cb4052a43.tar.bz2 |
shell: Avoid potential stack corruption
The rtems_shell_init() passed the address of a stack variable
(exit_code) to rtems_shell_run(). If wait == false, then the stack
variable goes out of scope but may be accessed by the created shell
thread.
The rtems_shell_script() was affected by the same problem.
Close #4629.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions