Menu ▾ ▴

#13 Fix : SGI files with 2 dimesions crash

closed
None
5
2012-10-31
2008-03-10
Noam Gat
No

Loading an .sgi file with two dimensions doesn't take the height factor from the header, leading to a badly parsed file, and probably a crash in the application using the image.

This fixes it.

Discussion

  • Noam Gat

    Noam Gat - 2008-03-10

    Fix for PluginSGI.cpp

     
  • Noam Gat

    Noam Gat - 2008-03-10

    Sample file that needs this fix

     
  • Noam Gat

    Noam Gat - 2008-03-10

    Logged In: YES
    user_id=2032473
    Originator: YES

    File Added: sample1.sgi

     
  • Noam Gat

    Noam Gat - 2008-03-10

    Another sample file that needs this fix

     
  • Noam Gat

    Noam Gat - 2008-03-10

    Logged In: YES
    user_id=2032473
    Originator: YES

    File Added: sample2.sgi

     
  • Hervé Drolon

    Hervé Drolon - 2008-03-16

    Logged In: YES
    user_id=613758
    Originator: NO

    Hi Noam,

    Thanks for the patch, it has been commited to the CVS.

    Hervé Drolon
    FreeImage Project Manager

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Anonymous
Anonymous

Add attachments
Cancel