Skip to content

x/net/icmp: runtime error: slice bounds out of range #10951

Description

@mikioh

Good catch, go-fuzz!

panic: runtime error: slice bounds out of range [recovered]
    panic: runtime error: slice bounds out of range

goroutine 6 [running]:
golang.org/x/net/icmp.(*InterfaceInfo).parseName(0xc20800b1e0, 0xc20807a130, 0x4, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0)
    /swdev/src/golang.org/x/net/icmp/interface.go:181 +0x2d8
golang.org/x/net/icmp.parseInterfaceInfo(0xc20807a130, 0x4, 0x10, 0x0, 0x0, 0x0, 0x0)
    /swdev/src/golang.org/x/net/icmp/interface.go:221 +0x450
golang.org/x/net/icmp.parseExtensions(0xc20807a12c, 0x8, 0x14, 0x80, 0x0, 0x0, 0x0, 0x371280, 0x0, 0x0)
    /swdev/src/golang.org/x/net/icmp/extension.go:78 +0x5f0
golang.org/x/net/icmp.parseMultipartMessageBody(0x1, 0xc20807a0a4, 0x90, 0x9c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /swdev/src/golang.org/x/net/icmp/multipart.go:102 +0x154
golang.org/x/net/icmp.parseParamProb(0x1, 0xc20807a0a4, 0x90, 0x9c, 0x0, 0x0, 0x0, 0x0)
    /swdev/src/golang.org/x/net/icmp/paramprob.go:55 +0x36f
golang.org/x/net/icmp.ParseMessage(0x1, 0xc20807a0a0, 0x94, 0xa0, 0x94, 0x0, 0x0)
    /swdev/src/golang.org/x/net/icmp/message.go:142 +0x518

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions