summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-15 07:24:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-16 07:35:27 +0100
commitb837c8386954b2aff5ee563ffec4383cb4052a43 (patch)
tree0395dc4c771a0d8bca2c19fe15ac9502c5cdcedc /wscript
parentbsps/irq: Improve affinity set handling (diff)
downloadrtems-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