diff options
author | James McCoy <jamessan@jamessan.com> | 2017-01-12 13:57:37 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-01-12 14:47:43 -0500 |
commit | 674db4b01fc6b899c7f56a40b77fa40c32466f6c (patch) | |
tree | 99084f57c9836176a133ca4d47aa7f26ce7fc907 /src/clint.py | |
parent | 50d0d891299c111c5e349c084ef146facfaad009 (diff) | |
download | rneovim-674db4b01fc6b899c7f56a40b77fa40c32466f6c.tar.gz rneovim-674db4b01fc6b899c7f56a40b77fa40c32466f6c.tar.bz2 rneovim-674db4b01fc6b899c7f56a40b77fa40c32466f6c.zip |
eval: Remove dictwatcher from watchers queue before freeing it
This fixes a use-after-free noticed by ASAN which would occur when a
dictwatcher was still active on a dictionary when the dictionary was
freed.
fun! MakeWatch()
let d = {'foo': 'bar'}
call dictwatcheradd(d, 'foo', function('...'))
endfun
Patch-by: oni-link
Closes #5930
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions