diff options
| author | Vibhav Pant | 2023-01-19 22:57:01 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2023-01-19 22:57:01 +0530 |
| commit | b67b328d6ab7e833b58156283b4f79fa8da7bdda (patch) | |
| tree | 018320aa2666d8b5480138b4f07c974cb4639042 /lib/malloc/dynarray_resize.c | |
| parent | 9c6acb9681e5b035f4d3fd12f4fcab6f3bc937c2 (diff) | |
| download | emacs-b67b328d6ab7e833b58156283b4f79fa8da7bdda.tar.gz emacs-b67b328d6ab7e833b58156283b4f79fa8da7bdda.zip | |
Pin native comp units with static objects for now.
* src/alloc.c (pin_object): New function.
* src/comp.c (register_native_comp_unit): If the unit contains static
lisp objects, pin it to avoid use-after-free crashes if heap allocated
objects in static objects don't get marked.
Diffstat (limited to 'lib/malloc/dynarray_resize.c')
0 files changed, 0 insertions, 0 deletions