Files
ghostty/src/config
i999rri 5909690de1 config: rebuild RepeatableCommand's C mirror on clone
Cloning value_c copied Command.C structs whose string pointers
still referenced the source config's memory; once the source was
freed, an embedded host reading the command list after a config
replace (ghostty_config_clone + ghostty_config_free of the old
one) hit use-after-free, caught by ASan. Rebuild the mirror from
the cloned commands with the same cval path parseCLI uses, and add
a regression test asserting the clone's C strings do not alias the
source's.
2026-09-07 02:09:49 +09:00
..
2026-07-21 12:35:05 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 12:35:05 -07:00
2023-09-11 09:17:29 -07:00
2026-08-02 20:24:30 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 12:35:05 -07:00
2026-08-02 20:24:30 -07:00
2023-09-23 22:46:16 -07:00