[Webkit-unassigned] [Bug 41348] Remove global variables from XSLTProcessorLibxslt.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 30 08:58:21 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41348





--- Comment #4 from Alexey Proskuryakov <ap at webkit.org>  2010-06-30 08:58:21 PST ---
Any application that links to WebKit can use libxml2 and libxslt on its own. That's of course already a problematic situation, and it doesn't seem to be possible to fully resolve this problem without moving WebKit into a different process, significantly modifying libxml2, or switching to another XML library.

I was thinking about keeping a HashSet of XSLTProcessors, so that we could check if _private is one of ours, and bail out quickly if it isn't. Other code's usage of libxslt may fail, but at least we won't crash right away. Logging an error would be helpful, probably even in release builds (but then we shouldn't complain to console more than once).

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



More information about the webkit-unassigned mailing list