Skip to content
Commit eede5747 authored by Felix Ernst's avatar Felix Ernst 🇺🇦
Browse files

Fix potential nullptr de-reference

The `break` that is replaced by a `return` here would only break
out of the innermost while loop so the std::vector::end could still
become accessed after that. By returning here we completely exit
out of both nested loops and therefore don't access the
std::vector::end.
parent 1ea868f2
Pipeline #302142 failed with stage
in 28 minutes and 4 seconds
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