diff --git a/src/reflection.cpp b/src/reflection.cpp index 2f05a34c4..6736ec7b0 100644 --- a/src/reflection.cpp +++ b/src/reflection.cpp @@ -700,6 +700,9 @@ bool VerifyObject(flatbuffers::Verifier &v, } } + if (!v.EndTable()) + return false; + return true; }