[Tarantool-patches] [PATCH] backtrace: fix out of bounds access on backtrace printing

Kirill Yukhin kyukhin at tarantool.org
Tue Dec 10 17:06:27 MSK 2019


Hello,

On 25 ноя 19:27, Serge Petrenko wrote:
> snrpintf always null-terminates the passed string, and it also returns
> the number of bytes that "would have been written if there was enough
> space", so not only we don't have to null-terminate the string, but even
> more so we shouldn't do it erroneously.
> 
> Closes #4636
> ---
> https://github.com/tarantool/tarantool/issues/4636
> https://github.com/tarantool/tarantool/tree/sp/gh-4636-bt-print-fix

I've checked your patch into master, 2.2 and 1.10.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list