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) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
0001-fix-build-with-private-descriptor.patch | ||
0002-Compare-names-without-over-reading-in-micro_allocati.patch |