MCPcopy Create free account
hub / github.com/segmentio/encoding / fixS

Function fixS

json/fuzz/fuzz.go:19–25  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

17)
18
19func fixS(v any) {
20 if s, ok := v.(*S); ok {
21 if len(s.P) == 0 {
22 s.P = []byte(`""`)
23 }
24 }
25}
26
27func Fuzz(data []byte) int {
28 score := 0

Callers 1

FuzzFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…