[Bug 268327] graphics/mesa-dri: 22.3.0 breaks direct rendering (radeon, SUMO, r600_dri)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268327

--- Comment #42 from Florian Walpen <[email protected]> ---
(In reply to Felix Palmen from comment #40)

> Are you sure this is complete? Just asking because the upstream issue has a few other commits linked as well....

There were multiple attempts and some rebases, but AFAICT only this one commit
was merged.

And it fixes exactly the issue he identified: Deleting an entry from the C++
std::set that our iterator currently points to. This invalidates the iterator.
The fix is to increment the iterator before deletion, which is correct
according to specs, see

https://en.cppreference.com/w/cpp/container/set/erase

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.