Code Review
/
staging
/
xdg-launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
41060cd
)
Fix memory corruption issue when unregistering surfaces
11/19411/3
author
Nick Diego Yamane
<nickdiego@igalia.com>
Wed, 19 Dec 2018 07:00:30 +0000
(
03:00
-0400)
committer
Jan-Simon Moeller
<jsmoeller@linuxfoundation.org>
Tue, 15 Jan 2019 11:18:39 +0000
(11:18 +0000)
- Iterator was being incremented twice, one when erase()
is called (implicit [1]) and another one just after to call erase
(explicitly), when unregistering a pid/surface_id.
Bug-AGL: SPEC-2078
[1] https://www.techiedelight.com/remove-elements-vector-inside-loop-cpp
Change-Id: Ia3cc3981480cf76b839043be49d257d5be011d60
Signed-off-by: Nick Diego Yamane <nickdiego@igalia.com>
No differences found