commit | 7db5fc838a7f701e495d41b0ff6a070591c84340 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon May 24 11:59:29 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon May 24 11:59:29 2010 +0200 |
tree | ac8f061dafa07580e8b6cf3fedcd290a9f43d3ac | |
parent | 55debbe38429b81c0ce6e8400aef36812eb151d7 [diff] [blame] |
Fix uninit memory read in undo code. Fix uint32_t in proto file. A few minor changes.
diff --git a/src/misc2.c b/src/misc2.c index 6d13f1c..03af4cc 100644 --- a/src/misc2.c +++ b/src/misc2.c
@@ -4178,7 +4178,7 @@ 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;