Skip to content

Commit 7437860

Browse files
committed
fix: multiple reporting of bcrypt initialisation
1 parent 36aa19b commit 7437860

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/ql/lib/semmle/javascript/frameworks/CryptoLibraries.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ private module Bcrypt {
770770
super.getArgument(0) = input
771771
}
772772

773-
override DataFlow::Node getInitialization() { result = init.asSource() }
773+
override DataFlow::Node getInitialization() { result = this }
774774

775775
override DataFlow::Node getAnInput() { result = input }
776776

0 commit comments

Comments
 (0)