[Tarantool-patches] [PATCH] cppcheck: src/lua/fiber.c null pointer dereference

Kirill Yukhin kyukhin at tarantool.org
Mon Sep 28 09:54:58 MSK 2020


Hello,

On 21 сен 20:48, Sergey Kaplun wrote:
> Found and fixed possible null pointer dereference with cppcheck:
> 
> [src/lua/fiber.c:245] -> [src/lua/fiber.c:217]: (warning) Either the condition 'if(func)' is redundant or there is possible null pointer dereference: func.
> ---
> 
> Branch: https://github.com/tarantool/tarantool/tree/skaplun/cppcheck-lua-fiber-possible-null-pointer-dereference

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

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list