Mercurial > vim
comparison src/proto/blowfish.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 /* blowfish.c */ | 1 /* blowfish.c */ |
2 void crypt_blowfish_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to); | 2 void crypt_blowfish_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to); |
3 void crypt_blowfish_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to); | 3 void crypt_blowfish_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to); |
4 void crypt_blowfish_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); | 4 int crypt_blowfish_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); |
5 int blowfish_self_test(void); | 5 int blowfish_self_test(void); |
6 /* vim: set ft=c : */ | 6 /* vim: set ft=c : */ |