- 2017.05.22 13:25 "Re: [Tiff] Libtiff 4.0.8 released", by PSIRT
-
2017.05.24 18:38 "Re: [Tiff] Sporadic crash on Windows when appending images to TIFF file", by Dinesh Iyer
- 2017.05.24 15:42 "[Tiff] Sporadic crash on Windows when appending images to TIFF file", by Dinesh Iyer
- 2017.05.24 19:19 "Re: [Tiff] Sporadic crash on Windows when appending images to TIFF file", by Bob Friesenhahn
-
2017.07.04 11:04 "[Tiff] A bug in libtiff error/warning handling", by Paavo Helde
-
2017.07.04 11:30 "Re: [Tiff] A bug in libtiff error/warning handling", by Even Rouault
- 2017.07.04 12:20 "Re: [Tiff] A bug in libtiff error/warning handling", by
-
2017.07.04 12:30 "Re: [Tiff] A bug in libtiff error/warning handling", by Paavo Helde
-
2017.07.04 18:38 "Re: [Tiff] A bug in libtiff error/warning handling", by Bob Friesenhahn
- 2017.07.04 19:31 "Re: [Tiff] A bug in libtiff error/warning handling", by Paavo Helde
- 2017.07.05 12:12 "Re: [Tiff] A bug in libtiff error/warning handling", by Edward Lam
-
2017.07.04 18:38 "Re: [Tiff] A bug in libtiff error/warning handling", by Bob Friesenhahn
-
2017.07.04 11:30 "Re: [Tiff] A bug in libtiff error/warning handling", by Even Rouault
2017.07.04 12:55 "Re: [Tiff] A bug in libtiff error/warning handling", by Even Rouault
Why can't Handler delegate to HandlerExt so that there's only ever a single handler irrespective of which call you use? Can't Handler register its own private handler with HandlerExt which strips off the thandle and calls the user-supplied handler? Internally, only the Ext variant need be invoked, with Handler wrapping it transparently.
Hum, I'm not sure we can do that (or that would be tricky) since TIFFSetErrorHandler() must return the previous handler with a type of TIFFErrorHandler. Or actually that would mess a sequence fo calls of TIFFSetErrorHandler() and then TIFFSetErrorHandlerExt(), where the later would then return our internal ErrorHandlerExt wrapper instead of NULL currently.
I've just applied Paavo's patch for now. This should fix crashing situations.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com