diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-05-18 13:37:57 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-05-18 13:37:57 +0200 |
commit | b247c6fd225566bdae2f31ad85d3a822cf3f1254 (patch) | |
tree | 4f247ff9bfffdc09520954fa0269c51bdb9f6850 /test/functional/helpers.lua | |
parent | 5625c7d8e16475b8732f0aa0238ffd6154446c09 (diff) | |
download | rneovim-b247c6fd225566bdae2f31ad85d3a822cf3f1254.tar.gz rneovim-b247c6fd225566bdae2f31ad85d3a822cf3f1254.tar.bz2 rneovim-b247c6fd225566bdae2f31ad85d3a822cf3f1254.zip |
kbtree: pointer UB and unitialized value fixes
- don't underflow itr->p pointer (C standard only allows one past the end, not
one before the beginning)
- make sure itr->p->i is always initialized (even when not used)
- don't rely on `NULL < &object` (likely UB)
Diffstat (limited to 'test/functional/helpers.lua')
0 files changed, 0 insertions, 0 deletions