forked from aniani/vim
Fix uninit memory read in undo code. Fix uint32_t in proto file.
A few minor changes.
This commit is contained in:
@@ -4178,7 +4178,7 @@ vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what,
|
||||
search_ctx = (ff_search_ctx_T*)alloc((unsigned)sizeof(ff_search_ctx_T));
|
||||
if (search_ctx == NULL)
|
||||
goto error_return;
|
||||
memset(search_ctx, 0, sizeof(ff_search_ctx_T));
|
||||
vim_memset(search_ctx, 0, sizeof(ff_search_ctx_T));
|
||||
}
|
||||
search_ctx->ffsc_find_what = find_what;
|
||||
|
||||
|
Reference in New Issue
Block a user