HomePhabricator

Don't access reference to a vector after pop_back
5a1164b921beUnpublished

Authored by bkramer on Apr 7 2020, 2:06 PM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Don't access reference to a vector after pop_back

This is undefined behavior. Found by asan's detect_container_overflow.

(cherry picked from commit 873b79b8675d0c8eca6055ae8a874fe52b033c28)

Details

Committed
frissApr 7 2020, 3:35 PM
Parents
rG5e13d780be3c: Merge pull request #1025 from jimingham/thread-plans-outlive-threads
Branches
Unknown
Tags
Unknown