lua: prevent serialization of error for ucdata
Without checking the return value of lua_pcall()` in `lua_field_inspect_ucdata()`, the error message itself is returned as a serialized result. The result status of `lua_pcall()` is not ignored now. NO_DOC=bugfix Closes #9396
Showing
- changelogs/unreleased/gh-9396-ucdata-serialize-error.md 4 additions, 0 deletionschangelogs/unreleased/gh-9396-ucdata-serialize-error.md
- src/lua/serializer.c 4 additions, 1 deletionsrc/lua/serializer.c
- test/app-luatest/gh_9396_ucdata_serialize_error_test.lua 18 additions, 0 deletionstest/app-luatest/gh_9396_ucdata_serialize_error_test.lua
Loading
Please register or sign in to comment