We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb9eb6 commit 9540beeCopy full SHA for 9540bee
java/ql/test/query-tests/security/CWE-611/DocumentBuilderTests.java
@@ -32,7 +32,7 @@ public void enableSecurityFeature2(Socket sock) throws Exception {
32
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
33
factory.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", true);
34
DocumentBuilder builder = factory.newDocumentBuilder();
35
- builder.parse(sock.getInputStream()); //safe -- secure-processing by itself is insufficient
+ builder.parse(sock.getInputStream()); //unsafe -- secure-processing by itself is insufficient
36
}
37
38
public void enableDTD(Socket sock) throws Exception {
0 commit comments