Uh oh!
There was an error while loading. Please reload this page.
chore: added check on iterator end position - #5129
Conversation
cliffburdick
commented
May 20, 2024
As far as I can tell the test that failed has nothing to do with this PR. Can anyone take a look? |
Uh oh!
There was an error while loading. Please reload this page.
henryiii
commented
May 25, 2024
Wouldn't it possibly be better to turn the assert into a failure that always triggers? Letting it fall through in release mode seems unideal, even though that's what's happening now. |
cliffburdick
commented
May 26, 2024
Hi @henryiii , I refactored it to do what you suggested. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
henryiii
commented
May 28, 2024
Thanks for sticking with it! |
Closes#4822
Description
Issue #4822 reported an issue Coverity found with an unchecked iterator in release mode. gcc13 also finds this by default and reports a warning.
Suggested changelog entry: