Skip to content

Index out of range exception in Iteration Data #23

Closed

Description

@matt-psaltis

Line 249 in IterationData.cs reads

while (!finished && Pos <= len)

Should be

while (!finished && Pos < len)

to avoid index out of range exception

Activity

  1. jamietre commented on Jul 20, 2012

    @jamietre
    Owner

    Fixed, will be in next push. Unless I'm mistaken this would only affect when parsing really bad HTML (e.g. the file ends on an unclosed tag opener). If there's a more serious breaking case you are aware of let me know so I can add a test.

  2. added a commit that references this issue on Jul 20, 2012
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions