crash with latest SVN trunk & VS 2010

2010-05-17
2013-05-02
  • Grégory Jaegy
    Grégory Jaegy
    2010-05-17

    Hi,

    I have successfully compiled Devil under VS2010 after having made some small modifications.

    However, I experience a crash in ilInit() (line : SET_FORMAT(& Formats, mods, BMP, "bmp");).

    The bug seems to come from the following function:

    il_internal.c / void Set_format(Format * format, const char * format_name, const char * format_extensions)

    the following line:

    /* Just let's advance the pointer to the next extension in the extensions string */
    current_extension += advance;

    the variable advance is uninitialized, I am not sure what sscanf() should put in that variable actually….

    Could someone check this ?

    Cheers,
    Greg

     
  • Grégory Jaegy
    Grégory Jaegy
    2010-05-17

    forget this, this was an older version (conflict on my side)