Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MOS] Fix signed bit shifts leading to out-of-bounds access
The event tracing code uses a const char array and bit shifts to convert byte values (to be output into the trace) into two-character hex representation through addressing the const array depending on the byte value. Since char is signed, using char to represent byte values sometimes leads to addressing an element of the const char array by a negative index. Replaced with unsigned char.
- Loading branch information