Fix various issues reported by Coverity

This commit is contained in:
2015-07-11 14:47:45 +02:00
parent c3d39dab5b
commit 5692da47be
3 changed files with 12 additions and 6 deletions

5
kike.c
View File

@@ -1818,8 +1818,11 @@ mode_processor_do_list (struct mode_processor *self,
return;
}
if (!mode_processor_check_operator (self))
return;
char *mask = irc_check_expand_user_mask (target);
if (!mode_processor_check_operator (self) || !mask)
if (!mask)
return;
size_t i;