mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
Restore the explicit signed conversion and parenthesize the sign-bit test so it is evaluated before the bitwise AND. Without this, operator precedence makes the decoder test bit zero instead of the sign bit and negative inline operands are reported as large positive values. Build the width mask without shifting by the full width of uint64_t. This avoids recursively invoking UBSan while decoding a 64-bit inline operand. Signed-off-by: hanzhijian <hanzhijian@zepp.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| ubsan.c | ||
| ubsan.h | ||