Mercurial > vim
diff src/misc2.c @ 2215:cccb71c2c5c1 vim73
Fix uninit memory read in undo code. Fix uint32_t in proto file.
A few minor changes.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 24 May 2010 11:59:29 +0200 |
parents | dded7e33d0a9 |
children | d45902a5c61c |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -4178,7 +4178,7 @@ vim_findfile_init(path, filename, stopdi 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;