diff --git a/patches/openwrt/to-upstream/0057-uboot-mvebu-update-to-version-2024.01.patch b/patches/openwrt/to-upstream/0057-uboot-mvebu-update-to-version-2024.01.patch
index 9ff4b4ca333135ec9bbc0f83bf0359733c0e4ffb..5c4b31331ac14cf95ddc6f36dcda30179798c611 100644
--- a/patches/openwrt/to-upstream/0057-uboot-mvebu-update-to-version-2024.01.patch
+++ b/patches/openwrt/to-upstream/0057-uboot-mvebu-update-to-version-2024.01.patch
@@ -756,7 +756,7 @@ index 0000000000..e4ea465047
 ++		return -EBADMSG;
 ++
 ++	bin2hex(pub_key, &reply[1], 33);
-++	reply[66] = '\0';
+++	pub_key[66] = '\0';
 ++
 ++	return 0;
 ++}