Skip to content

Commit 7c93a2c

Browse files
committed
Add const XMLParseNoEnt to stub
1 parent 667861f commit 7c93a2c

File tree

2 files changed

+4
-2
lines changed
  • go/ql/test/query-tests/Security/CWE-643

2 files changed

+4
-2
lines changed

go/ql/test/query-tests/Security/CWE-643/tst.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package main
1010
//go:generate depstubber -vendor github.com/jbowtie/gokogiri/xml Node
1111
//go:generate depstubber -vendor github.com/jbowtie/gokogiri/xpath "" Compile
1212
//go:generate depstubber -vendor github.com/santhosh-tekuri/xpathparser "" Parse,MustParse
13-
//go:generate depstubber -vendor github.com/lestrrat-go/libxml2/parser Parser New
13+
//go:generate depstubber -vendor github.com/lestrrat-go/libxml2/parser Parser New,XMLParseNoEnt
1414

1515
import (
1616
"net/http"

go/ql/test/query-tests/Security/CWE-643/vendor/github.com/lestrrat-go/libxml2/parser/stub.go

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)