mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 13:08:58 +00:00
Improved C++ asserts for nesting and not finishing buffers.
Change-Id: I82a392bd262b13e978df748bc54b7ac43aec1e15 Tested: on Linux.
This commit is contained in:
@@ -508,7 +508,7 @@ void FuzzTest1() {
|
||||
|
||||
lcg_reset(); // Reset.
|
||||
|
||||
uint8_t *eob = builder.GetBufferPointer() + builder.GetSize();
|
||||
uint8_t *eob = builder.GetCurrentBufferPointer() + builder.GetSize();
|
||||
|
||||
// Test that all objects we generated are readable and return the
|
||||
// expected values. We generate random objects in the same order
|
||||
|
||||
Reference in New Issue
Block a user