Mercurial > vim
view src/if_sniff.h @ 6745:7f9a158cf1d9 v7.4.695
patch 7.4.695
Problem: Out-of-bounds read, dectected by Coverity.
Solution: Remember the value of cmap for the first matching encoding. Reset
cmap to that value if first matching encoding is going to be used.
(Eliseo Mart?nez)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 13 Apr 2015 14:45:27 +0200 |
parents | 073ff46fe397 |
children | 1a5d34492798 |
line wrap: on
line source
/* * if_sniff.h Interface between Vim and SNiFF+ */ #ifndef __if_sniff_h__ #define __if_sniff_h__ extern int want_sniff_request; extern int sniff_request_waiting; extern int sniff_connected; extern int fd_from_sniff; extern void sniff_disconnect __ARGS((int immediately)); extern void ProcessSniffRequests __ARGS((void)); extern void ex_sniff __ARGS((exarg_T *eap)); #endif