Dominique wrote:

> asan (address sanitizer) detects a dynamic-stack-buffer-overflow
> error when running "make test_ruby" with a clang asan build:
> 
> =================================================================
> ==29048==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on
> address 0x7fff38a7a0f6 at pc 0x0000004d3e31 bp 0x7fff38a7a0b0 sp
> 0x7fff38a79860
> WRITE of size 23 at 0x7fff38a7a0f6 thread T0
>     #0 0x4d3e30 in strcpy ??:?
>     #1 0x4d3e30 in ?? ??:0

[...]

> Aborted (core dumped)
> 
> Attached patch fixes it by allocating 1 more
> byte for the end of string.

Thanks!
 
> Since it was not found by the asan Travis build, it means
> that Travis does not test with the ruby interpreter.
> Is this something we should add to Travis?

I hope that's possible.

-- 
Q: Should I clean my house or work on Vim?
A: Whatever contains more bugs.

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