reflection: check for valid union enum value during object verification (#5475)
authorMark Nauwelaerts <mnauw@users.sourceforge.net>
Mon, 19 Aug 2019 19:48:25 +0000 (21:48 +0200)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 19 Aug 2019 19:48:25 +0000 (12:48 -0700)
commita2485d4ecc52776a06eac95ddd69fe4b640a76a8
treee5c2be317d845130b1c3d911a3b94e3145fea11d
parenta20e71ac96f87d3b3af9ffc070d0e3d9a421b1f9
reflection: check for valid union enum value during object verification (#5475)

... to avoid assertion failure or invalid access due to invalid vector index
src/reflection.cpp