diff options
author | Florian Walch <florian@fwalch.com> | 2015-06-16 19:56:51 +0300 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-06-30 18:36:41 +0300 |
commit | bfadf5a28b550bf99101c17244d5ea1b926e40c3 (patch) | |
tree | 87f69db54729fd317ac516dec0091a54f24f4267 /test/unit/helpers.lua | |
parent | fa13cc61ced0ea5ecbebee9d95adcde5540b9e54 (diff) | |
download | rneovim-bfadf5a28b550bf99101c17244d5ea1b926e40c3.tar.gz rneovim-bfadf5a28b550bf99101c17244d5ea1b926e40c3.tar.bz2 rneovim-bfadf5a28b550bf99101c17244d5ea1b926e40c3.zip |
ASan: Fix "null pointer passed for argument declared to never be null". #2925
Arguments passed to xmemdupz() are sometimes NULL, but xmemdupz() has
FUNC_ATTR_NONNULL_ALL. Check pointers for NULL before calling
xmemdupz().
Resolves #2533.
Diffstat (limited to 'test/unit/helpers.lua')
0 files changed, 0 insertions, 0 deletions