From c017bd5138773f77572170ea416a0d5b3ae401b4 Mon Sep 17 00:00:00 2001 From: Cagebreak Signing Key 3 Date: Fri, 5 Mar 2021 17:50:58 +0100 Subject: [PATCH] Add Issue 25 --- Bugs.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Bugs.md b/Bugs.md index 2c16f14..8072b7e 100644 --- a/Bugs.md +++ b/Bugs.md @@ -306,3 +306,18 @@ Cagebreak up to and including release 1.5.1 had an error, where the code incremented a variable and not a pointer. This resulted in a bug in a surface counting iterator. +### Issue 25 + + * github issue number: N/A + * Fixed: 1.6.0 + +Cagebreak, beginning with release 1.5.0, when a keybinding containing an output +configuration is removed from the list of active keybindings, the output +configuration contained in this keybinding is destroyed in order to +prevent memory leaks. However, after an output configuration was applied, +it was inserted into the list of active output configurations and if it +was later destroyed, this led to a use-after-free memory corruption. +Starting from release 1.6.0, output configurations are copied before +being inserted into the list of active output configurations and +therefore remain valid even if the original is freed. +