irfanview crashes when the bfOffBits header field is set incorrectly (in the attached image it points inside the color table)
Announcement
Collapse
No announcement yet.
V4.10: IrfanView crashes with BMP file
Collapse
X
-
Yes, I think it is a bug. Any program worth its salt should be able to handle corrupt files without crashing. At least it should show a dialogue saying "Invalid file format." I opened the file OK in MS Paint, Corel PhotoPaint, Micrografx Picture Publisher 6.0, and Serif PhotoPlus.Before you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486
Irfan Paint • Irfan View Help • IrfanPaint Help • Riot.dll • More Skins • FastStone Capture • Uploads
Comment
-
Added Bug ReportBefore you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486
Irfan Paint • Irfan View Help • IrfanPaint Help • Riot.dll • More Skins • FastStone Capture • Uploads
Comment
-
A file like that must be considered corrupted. IV should understand this (since reading the bitmap data makes it go past the end of the file) and say to the user "Damaged file" (or something like that) and eventually try to recover what it can (defaulting bfOffBits to a "normal" value).IrfanPaint developer
The latest stable IrfanPaint version is the 0.4.13.70.
IrfanPaint is now open-source (released under BSD license).
Comment
-
Originally posted by WellOiledPC View PostI suppose this is an old post - just how old I cannot say, since the date of posting isn't shown.Before you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486
Irfan Paint • Irfan View Help • IrfanPaint Help • Riot.dll • More Skins • FastStone Capture • Uploads
Comment
Comment