Skip to content

runtime error: slice bounds out of range [12583936:12582912] #18

@xiaohongred

Description

@xiaohongred

runtime error: slice bounds out of range [12583936:12582912]

github.com/adrium/goheif@v0.0.0-20230113233934-ca402e77a786/goheif.go:167 +0xaa0

goheif code:
// copy y stride data
for i := 0; i < rect.Dy(); i += 1 {
copy(out.Y[(ytileHeight+i)out.YStride+xycc.YStride:], ycc.Y[iycc.YStride:(i+1)*ycc.YStride])
}

for some reasion, i can not give the picture cause this 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