aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/gcadapter/gc_adapter.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-28 04:58:58 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-01 18:16:53 -0300
commitf6cb128eac864484d15688811239e8d5206526c8 (patch)
tree5b6562709d97fe2268b4c56fdcb816aed63f6bdd /src/input_common/gcadapter/gc_adapter.cpp
parent0b954a33059775c239fca2a82429b3c254d02205 (diff)
shader_cache: Fix use-after-free and orphan invalidation cache entries
This fixes some cases where entries could have been removed multiple times reading freed memory. To address this issue this commit removes duplicates from entries marked for removal and sorts out the removal process to fix another use-after-free situation. Another issue fixed in this commit is orphan invalidation cache entries. Previously only the entries that were invalidated in the current operations had its entries removed. This led to more use-after-free situations when these entries were actually invalidated but referenced an object that didn't exist.
Diffstat (limited to 'src/input_common/gcadapter/gc_adapter.cpp')
0 files changed, 0 insertions, 0 deletions