golang-ico icon indicating copy to clipboard operation
golang-ico copied to clipboard

panic when reading image

Open joshblum opened this issue 4 years ago • 0 comments

panic: runtime error: index out of range [3385] with length 3382 seems to be from the following line: https://github.com/biessek/golang-ico/blob/d348d9ea4670192799de9f429f8eb3d3862cced2/reader.go#L131

what is the purpose of the +3 in the index calculation?

joshblum avatar Apr 28 '20 22:04 joshblum