summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNick Diego Yamane <nickdiego@igalia.com>2018-12-19 03:00:30 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-01-15 11:18:39 +0000
commit41060cd08cbc3b42ed59b9e117e8769f43295316 (patch)
treeb0709bab5157d6591fb02bac17cbc0da348020b5 /include
parentbf18cd6b272f7975e77a577e0b0d246bb2c62964 (diff)
Fix memory corruption issue when unregistering surfaces
- 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions