diff options
| author | Pip Cet | 2025-02-03 20:40:34 +0000 |
|---|---|---|
| committer | Pip Cet | 2025-02-03 20:52:57 +0000 |
| commit | 14ebe4d5dbd4e6637de227c8561aab22cf4b632c (patch) | |
| tree | 57d7dcb78458e1bb671549e80f41a2bb36be3012 /java | |
| parent | b5316e1ddb728ab7502e2b2fffcc84e9c47316dd (diff) | |
| download | emacs-14ebe4d5dbd4e6637de227c8561aab22cf4b632c.tar.gz emacs-14ebe4d5dbd4e6637de227c8561aab22cf4b632c.zip | |
Fix GC-related crashes in styled_format (bug#75754)
This approach ensures we don't use an SSDATA pointer after GC, and
that no Lisp callback code can modify the format string while we're
working on it.
* src/editfns.c (styled_format): Operate on a copy of the format
string rather than the original. Ensure final NUL byte is copied.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions