You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "jerpelea (via GitHub)" <gi...@apache.org> on 2026/08/03 12:34:09 UTC
[PR] {bp-19581} mm/ubsan: fix signed inline value decoding [nuttx]
jerpelea opened a new pull request, #19665:
URL: https://github.com/apache/nuttx/pull/19665
## Summary
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.
## Impact
RELEASE
## Testing
CI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] {bp-19581} mm/ubsan: fix signed inline value decoding [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #19665:
URL: https://github.com/apache/nuttx/pull/19665
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org