mirror of https://github.com/BOINC/boinc.git
check return value of host.update_diff_validator()
fixes CID 27961 found by Coverity
This commit is contained in:
parent
788745db0b
commit
6c10091740
|
@ -583,6 +583,12 @@ int handle_wu(
|
|||
}
|
||||
if (update_host) {
|
||||
retval = host.update_diff_validator(host_initial);
|
||||
if (retval) {
|
||||
log_messages.printf(MSG_CRITICAL,
|
||||
"[HOST#%lu] host.update_diff_validator() failed: %s\n",
|
||||
host.id, boincerror(retval)
|
||||
);
|
||||
}
|
||||
}
|
||||
if (update_result) {
|
||||
retval = validator.update_result(result);
|
||||
|
|
Loading…
Reference in New Issue