Skip to content

Commit 71a19d4

Browse files
Fix SAST Vulnerability
1 parent c765be5 commit 71a19d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/wrappers/ntlm/proxy-ntml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ func getNtlmHash(password string) []byte {
518518
if err != nil {
519519
log.Println(err)
520520
}
521-
return hash.Sum(nil)
521+
return hash.Sum([]byte(nil))
522522
}
523523

524524
func computeNtlmV2Response(ntlmV2Hash, serverChallenge, clientChallenge, timestamp, targetInfo []byte) []byte {

0 commit comments

Comments
 (0)