GSoC Project | Basic Support for Trace Compass

Ravindra Kumar Meena rmeena840 at gmail.com
Tue Aug 6 13:14:48 UTC 2019


>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190806/5901b03d/attachment.html>


More information about the devel mailing list