From 1e2887649457f51d541f87188aac1ec73ada711f Mon Sep 17 00:00:00 2001 From: q66 Date: Mon, 30 Mar 2020 19:14:00 +0200 Subject: [PATCH] Fix typo in big endian unmarshalling code This was subtly breaking everything. --- src/core/marsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/marsh.c b/src/core/marsh.c index d6d6353c..d9cd3f70 100644 --- a/src/core/marsh.c +++ b/src/core/marsh.c @@ -1141,7 +1141,7 @@ static const uint8_t *unmarshal_one( u.bytes[0] = data[8]; u.bytes[1] = data[7]; u.bytes[2] = data[6]; - u.bytes[5] = data[5]; + u.bytes[3] = data[5]; u.bytes[4] = data[4]; u.bytes[5] = data[3]; u.bytes[6] = data[2];