Mercurial > vim
annotate src/proto/crypt_zip.pro @ 28382:f24d4826e6bf v8.2.4716
patch 8.2.4716: memory allocation failure not tested when defining a function
Commit: https://github.com/vim/vim/commit/7c7e19cf50d76568e2637ad66b095044a41c6a82
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Apr 9 11:09:07 2022 +0100
patch 8.2.4716: memory allocation failure not tested when defining a function
Problem: Memory allocation failure not tested when defining a function.
Solution: Add a test. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/10127)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Apr 2022 12:15:02 +0200 |
parents | 7e9e53a0368f |
children | 3d4e28569a6d |
rev | line source |
---|---|
6122 | 1 /* crypt_zip.c */ |
16429
a1229400434a
patch 8.1.1219: not checking for NULL return from alloc()
Bram Moolenaar <Bram@vim.org>
parents:
7668
diff
changeset
|
2 int crypt_zip_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
16429
diff
changeset
|
3 void crypt_zip_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); |
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
16429
diff
changeset
|
4 void crypt_zip_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); |
6122 | 5 /* vim: set ft=c : */ |