>
> There is another bug here:
>
> size_t api_id = ( ( cctx->thread_id_name[ item->cpu ].thread_id >> 24 )
> & 0x7 );
>
> Please make sure that you don't have an out of bounds access. Check the
> dimensions of your array against the values you get from the line above.
>
I think this can be the right way to check bound access.
https://github.com/rmeena840/rtems-tools/commit/81bf2a9b9e57e7911d519c4719c5126e29a7adbe



-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to