push
github
sql: fix use-after-poison in variable binding This patch fixes a bug found by the ASAN instrumentation of LuaJIT allocator [1]. The problem is using `memcpy` beyond the size of the buffer being copied. Failing tests: - ./test/sql-luatest/gh_10243_varbinary_bound_variable_test.lua [1]: Issue #10231 Closes #10398 NO_DOC=bugfix NO_CHANGELOG=bugfix NO_TEST=rely on existing test (run failing tests with tarantool build described in [1]). (cherry picked from commit 1923078b4)
62946 of 114211 branches covered (55.11%)
2 of 2 new or added lines in 1 file covered. (100.0%)
50 existing lines in 9 files now uncovered.93819 of 109264 relevant lines covered (85.86%)
2478867.31 hits per line