asan: prepare for ASAN-friendly ibuf
ASAN-friendly implementation poisons memory after allocation with ibuf_alloc so we need to fix existing places in code where we access memory after allocation. Part of ibuf implementation is inline functions in headers. Thus ibuf implementation in Lua reimplement this parts. We add poison to these inline functions in ASAN-friedly implementation so we need add same poison in Lua implementation. Part of #7327 NO_CHANGELOG=internal NO_DOC=internal (cherry picked from commit 4f542bb7)
Showing
- src/box/iproto.cc 2 additions, 1 deletionsrc/box/iproto.cc
- src/lua/buffer.lua 18 additions, 0 deletionssrc/lua/buffer.lua
- src/lua/init.c 1 addition, 1 deletionsrc/lua/init.c
- src/lua/utils.lua 33 additions, 0 deletionssrc/lua/utils.lua
- test/app-luatest/buffer_test.lua 81 additions, 0 deletionstest/app-luatest/buffer_test.lua
- test/box-tap/merger.test.lua 2 additions, 2 deletionstest/box-tap/merger.test.lua
Loading
Please register or sign in to comment