Hirohito Higashi wrote:

> How to reproduce:
> - Start pure Vim.
>   $ vim -N -u NONE
> - Input characters for test.
>   i0x123456<Esc>
> - Visual block-wise select to '0x123'.
>   0<C-V>f3
> - Do visual increment.
>   <C-A>
> 
> Expected behavior:
>   Became 0x124456
> 
> Actual behavior:
>   Became 0x123466
> 
> 
> Investigation result:
>   Buffer-overrun occured in vim_str2nr(). [charset.c: 1914]
>   (When start start from "0x" && dohex && STRLEN(start) == maxlen)
>   We have forgotten the count of "0x".
>   
> 
> I wrote a patch with a test.
> Please include this.

Thanks!

-- 
<Beeth> Girls are like internet domain names,
        the ones I like are already taken.
<honx>  Well, you can stil get one from a strange country :-P

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui