1
0
forked from aniani/vim

updated for version 7.4.319

Problem:    Crash when putting zero bytes on the clipboard.
Solution:   Do not support the utf8_atom target when not using an Unicode
            encoding. (Naofumi Honda)
This commit is contained in:
Bram Moolenaar
2014-06-12 13:28:30 +02:00
parent e3a8bab630
commit 980e58f7b3
2 changed files with 3 additions and 1 deletions

View File

@@ -2324,7 +2324,7 @@ clip_x11_convert_selection_cb(w, sel_atom, target, type, value, length, format)
if ( *target != XA_STRING
#ifdef FEAT_MBYTE
&& *target != vimenc_atom
&& *target != utf8_atom
&& (*target != utf8_atom || !enc_utf8)
#endif
&& *target != vim_atom
&& *target != text_atom

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
319,
/**/
318,
/**/