Mercurial > vim
diff README.txt @ 16684:1c2d9f67d98f v8.1.1344
patch 8.1.1344: Coverity complains about possibly using a NULL pointer
commit https://github.com/vim/vim/commit/0d3cb73012332964e7a81d7afd1c21d393f45566
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 18 13:05:18 2019 +0200
patch 8.1.1344: Coverity complains about possibly using a NULL pointer
Problem: Coverity complains about possibly using a NULL pointer and copying
a string into a fixed size buffer.
Solution: Check for NULL, even though it should not happen. Use
vim_strncpy() instead of strcpy().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 May 2019 13:15:06 +0200 |
parents | 1174611ad715 |
children | af69c9335223 |