From 8e225433a5a8586404a20132b69626e4167d12b9 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sat, 30 Mar 2019 21:00:24 +0000 Subject: [PATCH] firmware: Fix kernel RPC strings size (memory corruption) Test case to follow. --- artiq/firmware/libproto_artiq/rpc_proto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libproto_artiq/rpc_proto.rs b/artiq/firmware/libproto_artiq/rpc_proto.rs index a7248be38..c0bab177a 100644 --- a/artiq/firmware/libproto_artiq/rpc_proto.rs +++ b/artiq/firmware/libproto_artiq/rpc_proto.rs @@ -255,7 +255,7 @@ mod tag { Tag::Int32 => 4, Tag::Int64 => 8, Tag::Float64 => 8, - Tag::String => 4, + Tag::String => 8, Tag::Bytes => 8, Tag::ByteArray => 8, Tag::Tuple(it, arity) => {