Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1e4954

Browse files
author
Felipe Zimmerle
committed
Closes a file handle that was left opened on fuzzy hash
Fuzzy hash implementation was lefting a file handle behind whenever the resultsmatched.
1 parentf6d6cea commitb1e4954

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎apache2/re_operators.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3946,6 +3946,7 @@ static int msre_op_fuzzy_hash_execute(modsec_rec *msr, msre_rule *rule,
39463946
*error_msg=apr_psprintf(msr->mp,"Fuzzy hash of %s matched " \
39473947
"with %s (from: %s). Score: %d.",var->name,line,
39483948
param->file,i);
3949+
fclose(fp);
39493950
return1;
39503951
}
39513952
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp