Joel Sherrill created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/159

Project:Branches: joel/rtems:add-assert-to-object-initialize-information to 
rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

objectinitializeinformation.c: Add Assert for API index too high

Coverity Scan spotted the possibility that the
_Objects_Information_table could be over-indexed if the API
value provided was too high. This function is only used during
initialization and the input should be trusted. Adding a debug
_Assert() emphasizes this trust.

Coverity CID 1512508

Closes #5084.


<!-- 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/159
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to