Mercurial > vim
view src/proto/hashtab.pro @ 10970:ab9f7bbe4439 v8.0.0374
patch 8.0.0374: invalid memory access when using :sc in Ex mode
commit https://github.com/vim/vim/commit/ba748c8a847561c043a63827bcb1d98bdebe16e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 14:00:07 2017 +0100
patch 8.0.0374: invalid memory access when using :sc in Ex mode
Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution: Avoid the column being negative. Also fix a hang in Ex mode.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Feb 2017 14:15:04 +0100 |
parents | 21b0a39d13ed |
children | 34966be2e856 |
line wrap: on
line source
/* hashtab.c */ void hash_init(hashtab_T *ht); void hash_clear(hashtab_T *ht); void hash_clear_all(hashtab_T *ht, int off); hashitem_T *hash_find(hashtab_T *ht, char_u *key); hashitem_T *hash_lookup(hashtab_T *ht, char_u *key, hash_T hash); void hash_debug_results(void); int hash_add(hashtab_T *ht, char_u *key); int hash_add_item(hashtab_T *ht, hashitem_T *hi, char_u *key, hash_T hash); void hash_remove(hashtab_T *ht, hashitem_T *hi); void hash_lock(hashtab_T *ht); void hash_unlock(hashtab_T *ht); hash_T hash_hash(char_u *key); /* vim: set ft=c : */