diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-03-25 14:37:58 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-03-25 14:40:24 +0100 |
commit | 9a6ef2bf3f9d0cabe39a05c72f70fc1799258c0f (patch) | |
tree | 20e454fc34f4ec5a14bc8b22f9a3e4db7cf2f063 /compiler.c | |
parent | 03f132427bffa96099611897c7c8ade279639874 (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