Skip to content
Commit b460e5b1 authored by David Redondo's avatar David Redondo 🏎 Committed by David Edmundson
Browse files

Do not modify vector while iterating over it in range-based for loop

This is undefined behavior leading to wrong behavior or crashes. Instead iterate
backwards to not invalidate iterators that are still to be accessed.
BUG: 423224
BUG: 423441
FIXED-IN: 5.19.3
parent 6fa8a6b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment