[Tarantool-patches] [PATCH] serilaizer: check for recursive serialization

Cyrill Gorcunov gorcunov at gmail.com
Mon Sep 14 19:06:10 MSK 2020


On Mon, Sep 14, 2020 at 05:43:56PM +0300, Roman Khabibov wrote:
> Hi, Cyrill and Igor!
> 
> I tried to compare the addresses of the previous and the current iteration,
> if they are equal, then throw "looks like recursion, bad function!”. But I
> got swim tests failing. That is, they use some recursive serializers that do
> not overflow the stack. Therefore, I settled on the idea of introducing a 
> recursion limit.

Look ok to me, I already gave an ack.


More information about the Tarantool-patches mailing list