Dominique Pellé wrote:

> Asan (address sanitizer) detects use of invalid
> memory with vim-7.4.796 on Linux x86_64 when doing:
> 
> $ vim -u NONE -c 'au CursorHoldI ,~'
> 
> =================================================================
> ==31962== ERROR: AddressSanitizer: heap-buffer-overflow on address
> 0x6062000168ff at pc 0x55c7fa bp 0x7ffd361811c0 sp 0x7ffd361811b8
> READ of size 1 at 0x6062000168ff thread T0

[...]

> ==31962== ABORTING
> 
> Attached patch fixes it.
> Bug was found using afl-fuzz + asan.

Thanks!

-- 
Edison's greatest achievement came in 1879, when he invented the
electric company.  Edison's design was a brilliant adaptation of the
simple electrical circuit: the electric company sends electricity
through a wire to a customer, then immediately gets the electricity
back through another wire

 /// 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