--- libcamera-rpi-0.3.2/src/ipa/rpi/cam_helper/cam_helper_imx500.cpp 2024-10-20 21:38:58.492510656 +0200 +++ libcamera-rpi-0.3.2-arch/src/ipa/rpi/cam_helper/cam_helper_imx500.cpp 2024-10-20 21:23:25.628222018 +0200 @@ -257,7 +257,7 @@ exported.height = inputTensorInfo.height; exported.numChannels = inputTensorInfo.channels; strncpy(exported.networkName, inputTensorInfo.networkName.c_str(), - sizeof(exported.networkName)); + sizeof(exported.networkName) - 1); exported.networkName[sizeof(exported.networkName) - 1] = '\0'; metadata.set("cnn.input_tensor_info", exported); metadata.set("cnn.input_tensor", std::move(inputTensorInfo.data));