0
0
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:
Bram Moolenaar
2010-05-24 11:59:29 +02:00
parent 55debbe384
commit 7db5fc838a
21 changed files with 50 additions and 44 deletions

View File

@@ -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);