Skip to content

avoid panic in decode_mut #126

Description

@dignifiedquire

It seems like a footgun to use an assert in decode_mut for checking the length. It would be much nicer if it returned an error instead, if the length do not much.

See n0-computer/iroh#3155 for an example of where this was a problem

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions