Skip to content

Incorrect check for short write #103

Description

@duncanharris

if err == nil && n < len(w.buf) {

len(w.buf) is always zero at this point because of previous line: w.buf = nil

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions