golang-ico
golang-ico copied to clipboard
panic when reading image
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?