summaryrefslogtreecommitdiffhomepage
path: root/compiler.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-25 14:37:58 +0100
committerJo-Philipp Wich <jo@mein.io>2021-03-25 14:40:24 +0100
commit9a6ef2bf3f9d0cabe39a05c72f70fc1799258c0f (patch)
tree20e454fc34f4ec5a14bc8b22f9a3e4db7cf2f063 /compiler.c
parent03f132427bffa96099611897c7c8ade279639874 (diff)
lib: prevent use-after-free after uc_shift()
Make sure to increase the refcount of items being moved since the subsequent put operation will decrease it, prematurely freeing moved items which will lead to use-after-free errors later on. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'compiler.c')
0 files changed, 0 insertions, 0 deletions