mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 18:32:00 +00:00
C++ verifier for evolved union fields should return true (#5586)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
8d5e424c65
commit
480815447a
@@ -563,7 +563,7 @@ inline bool VerifyCharacter(flatbuffers::Verifier &verifier, const void *obj, Ch
|
||||
auto ptr = reinterpret_cast<const flatbuffers::String *>(obj);
|
||||
return verifier.VerifyString(ptr);
|
||||
}
|
||||
default: return false;
|
||||
default: return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user