Skip to content

Panic index out of range in gosax.NextAttribute() #12

@emaffert

Description

@emaffert

Hi,

I was doing some Fuzzing tests with gosax, and I stumbled upon a panic error when parsing a certain string format and calling NextAttribute(): "<Test t=>"

Full "working" test here: https://go.dev/play/p/Ojae2LGvlGe

The method should return an error and hopefully not panic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions