Matteo Concas created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/496

Project:Branches: matteo.concas/rtems-gaisler:matteo/gr-rasta-tmtc-overflow to 
rtems/rtos/rtems:main
Author:   Matteo Concas




## Summary

`(1<<31)` will overflow the signed integer `irq`. This is low risk since the 
variable is always treated as an unsigned integer.
The commit changes the var type to unsigned integer, this will make it safer 
and fix the Coverity issue.

Closes Coverity 1642585


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/496
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to