oozcitak / exiflibrary

A .Net Standard library for editing Exif metadata
MIT License
134 stars 48 forks source link

Infinite loop when reading certain JPEG image files #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have found (I think) a bug in JPEGFile.cs, 'Read' method. For the JPEGs from 
our digital camera, the first 'while (true)' loop after the comment "// Start 
of Scan (SOS) sections and RST sections are immediately followed by entropy 
coded data. For that, we need to read until the next section marker once we 
reach a SOS or RST." causes an infinite loop.

Original issue reported on code.google.com by jeroenwe...@gmail.com on 22 Aug 2010 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
Are you sure this is the correct image? I can read this file with v0.12 without 
any problems.

Original comment by oozcitak on 23 Aug 2010 at 7:39

GoogleCodeExporter commented 9 years ago
Closing, no feedback.

Original comment by oozcitak on 6 Oct 2010 at 9:02