From cc2e00162676797342a61cb4b3fcb625b5a31ecc Mon Sep 17 00:00:00 2001 From: RebeccaMahany Date: Fri, 26 Jul 2024 14:52:19 -0400 Subject: [PATCH] Discard padding bytes before reading object property start --- ee/indexeddb/values.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/indexeddb/values.go b/ee/indexeddb/values.go index fb8c24fa0..46b5292cf 100644 --- a/ee/indexeddb/values.go +++ b/ee/indexeddb/values.go @@ -106,7 +106,7 @@ func deserializeObject(ctx context.Context, slogger *slog.Logger, srcReader io.B // First, we'll want the object property name. Typically, we'll get " (denoting a string), // then the length of the string, then the string itself. - objPropertyStart, err := srcReader.ReadByte() + objPropertyStart, err := nextNonPaddingByte(srcReader) if err != nil { return obj, fmt.Errorf("reading object property: %w", err) }