Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3116: boost GIL doesn't properly handle JPEG errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-03 10:19:58
#3116: boost GIL doesn't properly handle JPEG errors
------------------------------------------------+---------------------------
Reporter: Giel van Schijndel <me_at_mortis.eu> | Owner: hljin
Type: Patches | Status: new
Milestone: Boost 1.40.0 | Component: GIL
Version: Boost 1.39.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------+---------------------------
Changes (by Giel van Schijndel <me_at_mortis.eu>):
* cc: me_at_mortis.eu (added)
Comment:
PS I'm not entirely sure whether my patch will work properly as it'll end
up throwing an exception through C code. Until now, however, I haven't had
any problems with throwing through C code though (I'm using it to
determine the fileformat employed, i.e. try to load an image until one
loader is successful).
The problem is that libjpeg doesn't expect error_exit to return. So
another, C-way, of solving this could be by using longjmp and converting
to an exception at the jump target.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3116#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC