aboutsummaryrefslogtreecommitdiff
path: root/tflite_micro.cmake
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2023-08-07 17:42:18 +0200
committerMikael Olsson <mikael.olsson@arm.com>2023-08-07 18:03:30 +0200
commit74c514a5b50a19197a64a86095bc0429188adcbe (patch)
tree7aa16ff8a1b8590c0a5b565228bd1ae518045db5 /tflite_micro.cmake
parentba8a4bf62f9c89afde25486037ed854b2bedb704 (diff)
downloadethos-u-core-software-74c514a5b50a19197a64a86095bc0429188adcbe.tar.gz
Fix parser not always null-terminating model desc23.08-rc223.08-rc123.08
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>
Diffstat (limited to 'tflite_micro.cmake')
0 files changed, 0 insertions, 0 deletions