You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling FreeSWITCH 1.10.10 on Windows x64 and enabling color faxing by defining JPEG_SUPPORT in libtiff the buffer used for setjmp/longjmp in t42_itulab_jpeg_to_srgb() is not aligned properly and the call to setjmp results in seg fault. If I 'hack' around this alignment issues and give setjmp a properly aligned buffer if the jpeg decompression fails and the jpeg error handler is called it exits to the OS via and exit(EXIT_FAILURE) in libjpeg's error_exit() function. This seems to because the initialization of the decompressor error manager is incorrect in the way it sets up it's callbacks which get overridden by the defaults when jpeg_std_error() is called. These issues are the same in t42_srgb_to_itulab_jpeg().
Any guidance is appreciated
The text was updated successfully, but these errors were encountered:
When compiling FreeSWITCH 1.10.10 on Windows x64 and enabling color faxing by defining JPEG_SUPPORT in libtiff the buffer used for setjmp/longjmp in t42_itulab_jpeg_to_srgb() is not aligned properly and the call to setjmp results in seg fault. If I 'hack' around this alignment issues and give setjmp a properly aligned buffer if the jpeg decompression fails and the jpeg error handler is called it exits to the OS via and exit(EXIT_FAILURE) in libjpeg's error_exit() function. This seems to because the initialization of the decompressor error manager is incorrect in the way it sets up it's callbacks which get overridden by the defaults when jpeg_std_error() is called. These issues are the same in t42_srgb_to_itulab_jpeg().
Any guidance is appreciated
The text was updated successfully, but these errors were encountered: