From 051f966039028d257f27fc3a42c10cbff9f7c738 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 23 Feb 2023 21:30:12 -0700 Subject: decode: Include the invalid UTF-8 byte in error messages --- ReleaseNotes.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ReleaseNotes.md') diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 48982e4..af2adcc 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -14,6 +14,10 @@ then the first type error encountered is returned. This is consistent with the behavior of `encoding/json`. + - Bugfix: Decoder: If there is a syntax error in a byte that + invalid UTF-8, include that byte value in the error message + rather than including the U+FFFD Unicode replacement character. + # v0.3.7 (2023-02-20) Theme: Fixes from fuzzing (part 1?) -- cgit v1.2.3-2-g168b