Mercurial > vim
view src/proto/crypt_zip.pro @ 32088:cdab211f342a v9.0.1375
patch 9.0.1375: crash when getting member of obj of unknown class
Commit: https://github.com/vim/vim/commit/f77a7f704ffd0ca1050e82f609c8b8bd61863277
Author: Ernie Rael <errael@raelity.com>
Date: Fri Mar 3 15:05:30 2023 +0000
patch 9.0.1375: crash when getting member of obj of unknown class
Problem: Crash when getting member of obj of unknown class.
Solution: Check for NULL class and give an error message. (Ernie Rael,
closes #12096)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 03 Mar 2023 16:15:03 +0100 |
parents | 7e9e53a0368f |
children | 3d4e28569a6d |
line wrap: on
line source
/* crypt_zip.c */ int crypt_zip_init(cryptstate_T *state, char_u *key, char_u *salt, int salt_len, char_u *seed, int seed_len); void crypt_zip_encode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); void crypt_zip_decode(cryptstate_T *state, char_u *from, size_t len, char_u *to, int last); /* vim: set ft=c : */