aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-21 09:55:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-21 09:55:57 +0000
commit9b232e07f9b24a16d496939ec44c37fb772cd0b7 (patch)
treed42e61dc08d9fb93afdfdf9ab2a8bcc7af5263c0 /CHANGELOG.md
parentMerge branch 'cell-color-source' (diff)
config: create a copy of the section name
The parsing context keeps a pointer to the current section name. This is used when logging errors. However, the pointer was into a buffer allocated by getline(). This buffer are often re-used in the next call to getline(), or free:d. Regardless, the section name pointer is invalid after the next call to getline(), which meant all error messages were logging a correct section name.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b65f0b63..1f7208d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -49,6 +49,7 @@
* Regression: `letter-spacing` resulting in a “not a valid option”
error (https://codeberg.org/dnkl/foot/issues/795).
+* Regression: bad section name in configuration error messages.
### Security