Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix one more lower_bound end iterator issue #357

Merged
merged 1 commit into from
May 16, 2024

Conversation

bashbaug
Copy link
Contributor

Description of Changes

Fix one more case where an end iterator could be erroneously dereferenced after calling lower_bound.

Testing Done

Tested with a basic USM application with USM emulation enabled and saw an error from the Visual Studio runtime before this change, due to dereferencing an end iterator. After this fix there was no Visual Studio error and the application ran correctly.

@bashbaug bashbaug merged commit 986039e into intel:main May 16, 2024
7 checks passed
@bashbaug bashbaug deleted the lower-bound-end-iterator branch May 16, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant