Age | Commit message (Collapse) | Author |
|
Change-Id: I2462632f3b87df193c69b277b0944eb4d5d0efac
Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
|
|
The inference parser copies the description from the model using
strncpy, which will only add a null-terminator if the source string is
shorter than the destination. Otherwise, if the bytes copied are not
null-terminated, the destination is left without one.
To ensure that the description is always null-terminated, the last byte
of the description is now always overwritten with one.
Change-Id: I49c23acd12d661e1f5c37088dba2e37935f25fa5
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
|
|
Replace deprecated Length() call in Flatbuffers with size(), as
suggested by the deprecation warning.
Change-Id: If28f85547120598860e3606b3983dc4607247bb0
|
|
If the buffer does not point to a well defined flatbuffer the parsing
segfaults.
Change-Id: Icb8dfef37dc28b2b7a22c6d3804851be8198aa9d
|
|
Change-Id: If90ebe17cc33b8fef9e6a4ebae43a2e5749d8a37
|