← Back to team overview

hugin-bug-hunters team mailing list archive

[Bug 679605] Re: Invalid PNGs crash Hugin

 

** Changed in: hugin
   Importance: Undecided => Medium

** Changed in: hugin
       Status: New => Confirmed

** Tags added: hugin

-- 
Invalid PNGs crash Hugin
https://bugs.launchpad.net/bugs/679605
You received this bug notification because you are a member of Hugin Bug
Hunters, which is subscribed to Hugin.

Status in Hugin - Panorama Tools GUI: Confirmed

Bug description:
I came across some PNG images which would always crash hugin as soon as they are loaded.

Digging a little deeper I discovered that the PNG file had been truncated (specifically... the last PNG IDAT chunk wasn\'t the number of bytes it should have been).

Most image viewers I tried opened this file without a problem. Hugin should either load the image or (better still) give an error saying the image is invalid.

This was only tested on windows. I have attached an example truncated PNG file.