aboutsummaryrefslogtreecommitdiff
path: root/src/server/telnet_server.c
diff options
context:
space:
mode:
authorJonathan Dumaresq <jdumaresq@cimeq.qc.ca>2016-04-08 10:38:00 -0400
committerFreddie Chopin <freddie.chopin@gmail.com>2016-05-04 22:38:44 +0100
commit0f65e36ee176777a62fa0bbb8c31491928e98cf2 (patch)
treeee100dd6b70f979a034118cf5697fddba94e5ac1 /src/server/telnet_server.c
parentf5b7033742e0858610d37808f15b25602ba62995 (diff)
RTOS support: Correction of out of bound access of thread array
FreeRTOS use an array to store ready task. The array size is configMAX_PRIORITIES. In the current implementation, the code try to access 1 more priority if the helper from freeRTOS contrib is used. This has effect of detecting bad thread. This patch correct this and have been tested on a code with more than 12 task. Change-Id: Id229f0b2c4bf1aab87a2a69be174cc9b6dda00cb Signed-off-by: Jonathan Dumaresq <jdumaresq@cimeq.qc.ca> Reviewed-on: http://openocd.zylin.com/3400 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/server/telnet_server.c')
0 files changed, 0 insertions, 0 deletions