mirror of https://github.com/BOINC/boinc.git
Fixed potential format string vulnerability. Reported by Nicolas Alvarez.
svn path=/trunk/boinc/; revision=11599
This commit is contained in:
parent
bca1fcffb2
commit
b5290af2e8
|
@ -904,7 +904,7 @@ bool CLIENT_STATE::garbage_collect_always() {
|
|||
rp->output_files[i].file_info->ref_cnt++;
|
||||
}
|
||||
if (found_error) {
|
||||
report_result_error(*rp, error_str.c_str());
|
||||
report_result_error(*rp, "%s", error_str.c_str());
|
||||
}
|
||||
rp->wup->ref_cnt++;
|
||||
result_iter++;
|
||||
|
|
Loading…
Reference in New Issue