Mercurial > vim
view src/proto/blowfish.pro @ 30302:6a1ed021a0c0 v9.0.0487
patch 9.0.0487: using freed memory with combination of closures
Commit: https://github.com/vim/vim/commit/acd6b9976bd939035025a16ceb4213a680827927
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 16:27:39 2022 +0100
patch 9.0.0487: using freed memory with combination of closures
Problem: Using freed memory with combination of closures.
Solution: Do not use a partial after it has been freed through the
funcstack.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 17:30:04 +0200 |
parents | 7e9e53a0368f |
children | 3d4e28569a6d |
line wrap: on
line source
/* blowfish.c */ void crypt_blowfish_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); void crypt_blowfish_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); int 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 : */