[Lua] Avoid infinite loop when creating empty string (#6614)
author罗泽轩 <spacewanderlzx@gmail.com>
Thu, 6 May 2021 02:39:42 +0000 (10:39 +0800)
committerGitHub <noreply@github.com>
Thu, 6 May 2021 02:39:42 +0000 (19:39 -0700)
commita4bb8f0c2e763c75731dc21a6f30240380d0cded
tree9f8748788ca90d2a65bdff55ce200e01a1e57e33
parent82aed82b8462ec1f083d9471edef2868692ded6a
[Lua] Avoid infinite loop when creating empty string (#6614)

* [Lua] Avoid infinite loop when creating empty string

* [Lua] Check empty string output
lua/flatbuffers/binaryarray.lua
tests/luatest.lua