Skip to content

Index out of range bug #60

Open
Open

Description

@Kleissner

There's an index out of range bug at col.go:199 (called by row.go:25).

xls/col.go

Lines 198 to 200 in 5397868

func (c *LabelsstCol) String(wb *WorkBook) []string {
return []string{wb.sst[int(c.Sst)]}
}

You should check if int(c.Sst) is within the range of wb.sst. If not, return []string{""}.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions