mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
87e8ab0ecb
Compare names without over-reading in `micro_allocation_info.cc`. This fixes: /home/maribu/Repos/software/RIOT/build/pkg/tflite-micro/tensorflow/lite/micro/micro_allocation_info.cc: In member function 'TfLiteStatus tflite::AllocationInfoBuilder::GetOfflinePlannedOffsets(const int32_t**)': /home/maribu/Repos/software/RIOT/build/pkg/tflite-micro/tensorflow/lite/micro/micro_allocation_info.cc:294:18: error: 'int strncmp(const char*, const char*, size_t)' specified bound 23 exceeds source size 0 [-Werror=stringop-overread] 294 | if (strncmp(metadata->name()->c_str(), kOfflineMemAllocMetadata, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | strlen(kOfflineMemAllocMetadata)) == 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
patches | ||
doc.txt | ||
Kconfig | ||
Makefile | ||
Makefile.dep | ||
Makefile.include | ||
tflite-c.mk | ||
tflite-core-api.mk | ||
tflite-kernels-internal-reference.mk | ||
tflite-kernels-internal.mk | ||
tflite-kernels.mk | ||
tflite-micro-kernels.mk | ||
tflite-micro-memory-planner.mk | ||
tflite-micro.mk | ||
tflite-schema.mk |