Courtesy of https://github.com/dvyukov/go-fuzz
I'll submit a pull request to include this in the tree next..
package main
import (
"fmt"
"github.com/lytics/confl"
)
func main() {
var v map[string]interface{}
fmt.Println("about to hang")
confl.Unmarshal([]byte("\x0e9\xbd\xbf\xefr"), &v)
fmt.Println("never gets here")
}
Courtesy of https://github.com/dvyukov/go-fuzz
I'll submit a pull request to include this in the tree next..