wok-6.x view libwebkit/stuff/WebCore_xml_XPathParser.cpp_124099.diff @ rev 16951
Up musl-libc (1.0.3) CVE-2014-3483
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 27 13:34:02 2014 +0200 (2014-07-27) |
parents | |
children |
line source
1 Index: trunk/Source/WebCore/xml/XPathParser.cpp
2 ===================================================================
3 --- trunk/Source/WebCore/xml/XPathParser.cpp (revision 97771)
4 +++ trunk/Source/WebCore/xml/XPathParser.cpp (revision 124099)
5 @@ -33,22 +33,19 @@
6 #include "XPathException.h"
7 #include "XPathNSResolver.h"
8 +#include "XPathPath.h"
9 #include "XPathStep.h"
10 #include <wtf/StdLibExtras.h>
11 #include <wtf/text/StringHash.h>
13 -int xpathyyparse(void*);
14 -
15 +using namespace WebCore;
16 using namespace WTF;
17 using namespace Unicode;
18 -
19 -namespace WebCore {
20 -namespace XPath {
21 -
22 -class LocationPath;
23 -
24 -#include "XPathGrammar.h"
25 +using namespace XPath;
26 +
27 +extern int xpathyyparse(WebCore::XPath::Parser*);
28 +#include "XPathGrammar.h"
30 Parser* Parser::currentParser = 0;
31 -
32 +
33 enum XMLCat { NameStart, NameCont, NotPartOfName };
35 @@ -631,4 +628,2 @@
36 }
38 -}
39 -}