Skip to content

Commit 8a27660

Browse files
author
Alvaro Muñoz
committed
change handler function name
1 parent 69ecbda commit 8a27660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/test/query-tests/Security/CWE-078/ArgumentInjection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os/exec"
66
)
77

8-
func handler(req *http.Request) {
8+
func handler2(req *http.Request) {
99
path := req.URL.Query()["path"][0]
1010
cmd := exec.Command("rsync", path, "/tmp")
1111
cmd.Run()

0 commit comments

Comments
 (0)