diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-24 11:59:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-24 11:59:29 +0200 |
commit | 7db5fc838a7f701e495d41b0ff6a070591c84340 (patch) | |
tree | ac8f061dafa07580e8b6cf3fedcd290a9f43d3ac /src/sha256.c | |
parent | 55debbe38429b81c0ce6e8400aef36812eb151d7 (diff) | |
download | vim-git-7db5fc838a7f701e495d41b0ff6a070591c84340.tar.gz |
Fix uninit memory read in undo code. Fix uint32_t in proto file.
A few minor changes.
Diffstat (limited to 'src/sha256.c')
-rw-r--r-- | src/sha256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sha256.c b/src/sha256.c index 048ce75fe..6ea3f81f4 100644 --- a/src/sha256.c +++ b/src/sha256.c @@ -360,7 +360,7 @@ sha256_self_test() else { sha256_start(&ctx); - memset(buf, 'a', 1000); + vim_memset(buf, 'a', 1000); for (j = 0; j < 1000; j++) sha256_update(&ctx, (char_u *)buf, 1000); sha256_finish(&ctx, sha256sum); |