internal: fix Unicode zero character handling (#841)

A fix was submitted to our dependency, tests added to validate the
problematic scenario.

We also added some fuzz tests to check for additional issues, none were
found.
This commit is contained in:
Maciej Kisiel 2026-03-12 21:54:23 +01:00 • committed by Maciek Kisiel
commit 515f11be07
No known key found for this signature in database

2
go.mod
View file

@ -6,7 +6,7 @@ require (
github.com/golang-jwt/jwt/v5 v5.3.0
github.com/google/go-cmp v0.7.0
github.com/google/jsonschema-go v0.4.2
github.com/segmentio/encoding v0.5.3
github.com/segmentio/encoding v0.5.4
github.com/yosida95/uritemplate/v3 v3.0.2
golang.org/x/oauth2 v0.34.0
golang.org/x/tools v0.41.0