From 0071785c7ca0ccbaf7e0073089a52aaf7ccbe155 Mon Sep 17 00:00:00 2001 From: Oskar Eichler Date: Sun, 30 Aug 2026 00:58:19 +0200 Subject: [PATCH] Consume nil in Unpacker#skip_nil --- ext/msgpack/unpacker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/msgpack/unpacker.c b/ext/msgpack/unpacker.c index 4b94a6bb..97eefa99 100644 --- a/ext/msgpack/unpacker.c +++ b/ext/msgpack/unpacker.c @@ -911,8 +911,8 @@ int msgpack_unpacker_skip_nil(msgpack_unpacker_t* uk) return b; } if(b == 0xc0) { + reset_head_byte(uk); return 1; } return 0; } -