Mercurial > vim
view src/proto/blowfish.pro @ 6765:ec46a5ca1b51 v7.4.704
patch 7.4.704
Problem: Searching for a character matches an illegal byte and causes
invalid memory access. (Dominique Pelle)
Solution: Do not match an invalid byte when search for a character in a
string. Fix equivalence classes using negative numbers, which
result in illegal bytes.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Apr 2015 14:02:35 +0200 |
parents | 18ac55444b37 |
children | 21b0a39d13ed |
line wrap: on
line source
/* blowfish.c */ void crypt_blowfish_encode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to)); void crypt_blowfish_decode __ARGS((cryptstate_T *state, char_u *from, size_t len, char_u *to)); void crypt_blowfish_init __ARGS((cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len)); int blowfish_self_test __ARGS((void)); /* vim: set ft=c : */