mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
Fix uninit memory read in undo code. Fix uint32_t in proto file.
A few minor changes.
This commit is contained in:
@@ -4328,7 +4328,7 @@ restore_backup:
|
||||
|
||||
use_crypt_method = buf->b_p_cm; /* select pkzip or blowfish */
|
||||
|
||||
memset(header, 0, sizeof(header));
|
||||
vim_memset(header, 0, sizeof(header));
|
||||
vim_strncpy(header, (char_u *)crypt_magic[use_crypt_method],
|
||||
CRYPT_MAGIC_LEN);
|
||||
|
||||
|
Reference in New Issue
Block a user