Skip to content

objectinitializeinformation.c: Add Assert for API index too high

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 (closed).

Merge request reports