mirror of
https://github.com/google/flatbuffers.git
synced 2026-08-03 23:21:06 +00:00
99fe1dc80f
Make an out-of-bounds check for enum values before using them to index the names array. For consistency with non-sparse enums an empty string is returned. Fixes #4821