Added extra checks for reading binaries in flatc
authorWouter van Oortmerssen <wvo@google.com>
Mon, 4 May 2015 20:36:27 +0000 (13:36 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Mon, 4 May 2015 20:38:20 +0000 (13:38 -0700)
commitc49c6da80346c6d648afd94257ea2942489d3018
tree48ab89aea7821cb1a602bce93813f75cadf4e1b6
parent37e6efe1f97b0788bd457d61e52ed40e12d2e69a
Added extra checks for reading binaries in flatc

By default, disallow reading binaries that do not correspond to
the schema file_identifier. Override with --raw-binary

Change-Id: I24822c0e4c80dab4e5a238ae2b6e601a09025c27
Tested: on Linux.
docs/html/md__compiler.html
docs/source/Compiler.md
src/flatc.cpp