• Wouter van Oortmerssen's avatar
    Made the verifier catch zero-offsets. · 8b92122f
    Wouter van Oortmerssen authored
    Zero offsets are non-sensical in FlatBuffers (since offsets are
    relative to themselves) but were allowed by the verifier. This could
    cause buffers made up of all zeroes to be interpreted as correct
    buffers with an empty root object.
    
    Generally, not allowing such offsets will make the verifier more
    likely to catch problems earlier.
    
    Change-Id: I54010bea29721b326ff8e5348fcd9fe78e5e7506
    Tested: on Linux.
    8b92122f
Name
Last commit
Last update
.github Loading commit data...
CMake Loading commit data...
android Loading commit data...
biicode Loading commit data...
docs Loading commit data...
go Loading commit data...
grpc Loading commit data...
include/flatbuffers Loading commit data...
java/com/google/flatbuffers Loading commit data...
js Loading commit data...
net/FlatBuffers Loading commit data...
php Loading commit data...
python Loading commit data...
reflection Loading commit data...
samples Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
appveyor.yml Loading commit data...
biicode.conf Loading commit data...
composer.json Loading commit data...
package.json Loading commit data...
pom.xml Loading commit data...
readme.md Loading commit data...