[Digikam-devel] [Bug 273765] replacing pgf files with an open digikam lead to reproducible crash

Francesco Riosa francesco+kde at pnpitalia.it
Tue May 24 20:27:29 BST 2011


https://bugs.kde.org/show_bug.cgi?id=273765





--- Comment #6 from Francesco Riosa <francesco+kde pnpitalia it>  2011-05-24 21:27:28 ---
(In reply to comment #5)
> - rewrite libpgf to handle exceptions (slowing it down) and to fit better in a

PGFplatform.h already contain the code below:

#ifndef ASSERT
    #ifdef _DEBUG
        #define ASSERT(x)    assert(x)
    #else
        #if defined(__GNUC__)
            #define ASSERT(ignore)((void) 0) 
        #elif _MSC_VER >= 1300 
            #define ASSERT        __noop
        #else
            #define ASSERT ((void)0)
        #endif
    #endif //_DEBUG
#endif //ASSERT

Maybe something easy can be added here and the Decoder.ccp line //ASSERT(sigPos
+ runlen <= BufferSize); uncommented

now something what?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list