Mercurial > vim
comparison src/proto/crypt_zip.pro @ 16429:a1229400434a v8.1.1219
patch 8.1.1219: not checking for NULL return from alloc()
commit https://github.com/vim/vim/commit/6ee9658774942f7448af700fc04df0335796a3db
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 27 22:06:37 2019 +0200
patch 8.1.1219: not checking for NULL return from alloc()
Problem: Not checking for NULL return from alloc().
Solution: Add checks. (Martin Kunev, closes https://github.com/vim/vim/issues/4303, closes https://github.com/vim/vim/issues/4174)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Apr 2019 22:15:05 +0200 |
parents | 21b0a39d13ed |
children | 7e9e53a0368f |
comparison
equal
deleted
inserted
replaced
16428:6f69ef2913d7 | 16429:a1229400434a |
---|---|
1 /* crypt_zip.c */ | 1 /* crypt_zip.c */ |
2 void crypt_zip_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); | 2 int crypt_zip_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); |
3 void crypt_zip_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to); | 3 void crypt_zip_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to); |
4 void crypt_zip_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to); | 4 void crypt_zip_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to); |
5 /* vim: set ft=c : */ | 5 /* vim: set ft=c : */ |