[Poppler-bugs] [Bug 21412] Bad error handling practice

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 26 12:24:39 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=21412


Albert Astals Cid <tsdgeos at terra.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Albert Astals Cid <tsdgeos at terra.es>  2009-04-26 12:24:37 PST ---
No, patch is not acceptable.

Your patch still will take down the whole application, you are returning a NULL
pointer that will make poppler crash.

If you found any place where this is happening just fix it the proper way, that
is calling the isFoo before getFoo.


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


More information about the Poppler-bugs mailing list