Mercurial > vim
view src/proto/blowfish.pro @ 15265:a7d02a56b5d5 v8.1.0641
patch 8.1.0641: no check for out-of-memory when converting regexp
commit https://github.com/vim/vim/commit/c57463c9c6ee893285f553e0ac3b2fe5935f16b8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 26 22:04:41 2018 +0100
patch 8.1.0641: no check for out-of-memory when converting regexp
Problem: No check for out-of-memory when converting regexp.
Solution: Bail out when lalloc() returns NULL. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Dec 2018 22:15:05 +0100 |
parents | 21b0a39d13ed |
children | a1229400434a |
line wrap: on
line source
/* blowfish.c */ void crypt_blowfish_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to); void crypt_blowfish_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to); void crypt_blowfish_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); int blowfish_self_test(void); /* vim: set ft=c : */