Hi list, PdfEncodingFactory.cpp uses a broken form of double-checked locking<https://preshing.com/20130930/double-checked-locking-is-fixed-in-cpp11/> to initialize its encoding instances. Not a big deal, as these objects don’t do much; technically, that is a data race and can lead to undefined behaviour, but realistically, I would be surprised to see anything worse than a small memory leak, if even that.
Does PoDoFo require C++11 or newer (where there are simple fixes available)? Will it ever? Cheers, Christopher The MathWorks GmbH | Friedlandstr.18 | 52064 Aachen | District Court Aachen | HRB 8082 | Managing Directors: Bertrand Dissler, Steven D. Barbo, Jeanne O’Keefe
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users