aboutsummaryrefslogtreecommitdiffstats
path: root/lib/malloc/dynarray_resize.c
diff options
context:
space:
mode:
authorVibhav Pant2023-01-19 22:57:01 +0530
committerVibhav Pant2023-01-19 22:57:01 +0530
commitb67b328d6ab7e833b58156283b4f79fa8da7bdda (patch)
tree018320aa2666d8b5480138b4f07c974cb4639042 /lib/malloc/dynarray_resize.c
parent9c6acb9681e5b035f4d3fd12f4fcab6f3bc937c2 (diff)
downloademacs-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