Hello, Sergey, On 12.08.2024 16:17, Sergey Kaplun wrote: >> >>> Also, please add here comment about `sizeof(buff) - 1` too. > Please add a comment that the terminating '\0' is considered by parser > as part of the input, so we must chomp it. Updated: --- a/test/tarantool-c-tests/lj-1168-unmarked-finalizer-tab.test.c +++ b/test/tarantool-c-tests/lj-1168-unmarked-finalizer-tab.test.c @@ -89,6 +89,10 @@ unmarked_finalizer_tab_gcmark(void *test_state)         /* Not trigger GC during `lua_openffi()`. */         lua_gc(L, LUA_GCSTOP, 0); +       /* +        * The terminating '\0' is considered by parser as part of +        * the input, so we must chomp it. +        */         int res = luaL_loadbufferx(L, buff, sizeof(buff) - 1,                                    "test_chunk", "t");         if (res != LUA_OK) { > > >