PistonDevelopers/rust-image — pull request #18 by nwin (2014-06-08 11:05:15+00:00)
Title: Check CRC of last IDAT chunk

Moving the check to the end of the loop is save because the length is checked anyway such that in the worst case and empty slice is passed to the reader.

I have tests for this set up but they are ugly/hacked. I could commit them anyway if wanted.