diff options
| author | Philipp Stephani | 2020-11-29 21:13:02 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2020-11-29 21:13:02 +0100 |
| commit | 41c338474dd1e086494337fd18ec8828cef1a75c (patch) | |
| tree | 31e090e26e3bda495f984c0a634e21cfe0ecf0ce /src/buffer.c | |
| parent | 367727b0f6ed2468c909b9883740bff101d5a68f (diff) | |
| download | emacs-41c338474dd1e086494337fd18ec8828cef1a75c.tar.gz emacs-41c338474dd1e086494337fd18ec8828cef1a75c.zip | |
Fix double-free bug when finalizing module runtimes.
* src/emacs-module.c (finalize_runtime_unwind): Don't finalize initial
environment twice.
* test/src/emacs-module-resources/mod-test.c (emacs_module_init):
Allocate lots of values during module initialization to trigger the
bug.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions