aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-08-25 12:26:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-08-25 13:46:19 +0000
commited7652db5056c3658afbc11c04e164e77da18650 (patch)
treef73f0db21ca1dbbc5fa5bf8b46df19b5917f7ac7 /CHANGELOG.md
parentserver: fix compilation error: return value ignored (diff)
config: value_to_*(): don't overwrite result variable on error
Some of the value_to_*() functions wrote directly to the output variable, even when the value was invalid. This often resulted in the an actual configuration option (i.e. a member in the config struct) to be overwritten by an invalid value. For example, -o initial-color-theme=0 would set conf->initial_color_theme to -1, resulting in a crash later, when initializing a terminal instance.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd5730a1..2a2e3347 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -70,7 +70,7 @@
### Changed
* The label letters are no longer sorted before being assigned to URLs
- ([#2140]2140[]).
+ ([#2140][2140]).
* Sending SIGUSR1/SIGUSR2 to a `foot --server` process now causes
newly spawned client instances to use the selected theme, instead of
the original one.
@@ -83,6 +83,11 @@
### Deprecated
### Removed
### Fixed
+
+* Invalid configuration values overriding valid ones in surprising
+ ways.
+
+
### Security
### Contributors