Skip to content

Commit 9540bee

Browse files
Update java/ql/test/query-tests/security/CWE-611/DocumentBuilderTests.java
Co-authored-by: intrigus-lgtm <[email protected]>
1 parent 9eb9eb6 commit 9540bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/test/query-tests/security/CWE-611/DocumentBuilderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void enableSecurityFeature2(Socket sock) throws Exception {
3232
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
3333
factory.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", true);
3434
DocumentBuilder builder = factory.newDocumentBuilder();
35-
builder.parse(sock.getInputStream()); //safe -- secure-processing by itself is insufficient
35+
builder.parse(sock.getInputStream()); //unsafe -- secure-processing by itself is insufficient
3636
}
3737

3838
public void enableDTD(Socket sock) throws Exception {

0 commit comments

Comments
 (0)