[Tarantool-patches] [PATCH] core: fix static_alloc buffer overflow

Cyrill Gorcunov gorcunov at gmail.com
Tue Nov 3 00:47:20 MSK 2020


On Mon, Nov 02, 2020 at 10:43:02PM +0100, Vladislav Shpilevoy wrote:
> > 
> > Guys, I didn't follow the details of the series but thought of some
> > helper like below. Will it help?
> 
> In some places yes. But SNPRINT is used not only with snprintf.
> 
> It also is used with vsnprintf, mp_snprint, vy_run_snprint_filename,
> tuple_snprint, say_format_plain_tail, json_escape, strftime, and probably
> more. So it would be better to fix SNPRINT. To cover all its usage
> cases.

OK, sounds reasonable.


More information about the Tarantool-patches mailing list