You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/02 02:46:47 UTC

[GitHub] [incubator-nuttx] no1wudi opened a new issue, #6985: Shift out of bounds on ESP32-C3

no1wudi opened a new issue, #6985:
URL: https://github.com/apache/incubator-nuttx/issues/6985

   Enable CONFIG_MM_UBSAN and disable CONFIG_MM_UBSAN_TRAP_ON_ERROR in esp32c3-devkit:nsh, and then we get:
   ```
   ubsan_prologue: ================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2196:3
   __ubsan_handle_shift_out_of_bounds: left shift of 255 by 24 places cannot be represented in type 'int'
   ubsan_epilogue: ================================================================================
   ubsan_prologue: ================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2207:3
   __ubsan_handle_shift_out_of_bounds: left shift of 127 by 25 places cannot be represented in type 'int'
   ubsan_epilogue: ================================================================================
   ubsan_prologue: ================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2215:3
   __ubsan_handle_shift_out_of_bounds: left shift of 127 by 25 places cannot be represented in type 'int'
   ubsan_epilogue: ================================================================================
   ubsan_prologue: ================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2219:3
   __ubsan_handle_shift_out_of_bounds: left shift of 127 by 25 places cannot be represented in type 'int'
   ubsan_epilogue: ================================================================================
   ubsan_prologue: ================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:2068:3
   __ubsan_handle_shift_out_of_bounds: left shift of 3 by 30 places cannot be represented in type 'int'
   ubsan_epilogue: ================================================================================
   ubsan_prologue: ================================================================================
   ubsan_prologue: UBSAN: shift-out-of-bounds in chip/esp32c3_rtc.c:729:7
   __ubsan_handle_shift_out_of_bounds: left shift of 33554431 by 7 places cannot be represented in type 'int'
   ubsan_epilogue: ================================================================================
   ```
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx] no1wudi commented on issue #6985: Shift out of bounds on ESP32-C3

Posted by GitBox <gi...@apache.org>.
no1wudi commented on issue #6985:
URL: https://github.com/apache/incubator-nuttx/issues/6985#issuecomment-1235010563

   @gustavonihei Could you take a look for it ?


-- 
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


[GitHub] [incubator-nuttx] xiaoxiang781216 closed issue #6985: Shift out of bounds on ESP32-C3

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 closed issue #6985: Shift out of bounds on ESP32-C3
URL: https://github.com/apache/incubator-nuttx/issues/6985


-- 
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