1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

smbd: Fix CID 1311338 Error handling issues (CHECKED_RETURN)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2015-07-09 19:20:46 +02:00 committed by Ralph Böhme
parent 080e654ca5
commit 94288f153d

View File

@ -269,7 +269,12 @@ static bool smbd_scavenger_start(struct smbd_scavenger_state *state)
scavenger_setup_sig_term_handler(state->ev);
serverid_register(*state->scavenger_id, FLAG_MSG_GENERAL);
if (!serverid_register(*state->scavenger_id,
FLAG_MSG_GENERAL)) {
DBG_WARNING("serverid_register failed");
exit_server("serverid_register failed");
return false;
}
ok = scavenger_say_hello(fds[1], *state->scavenger_id);
if (!ok) {