extb_combi: tighten up recursion depth

This commit is contained in:
William Pitcock 2015-12-13 11:22:47 -06:00
parent 9145dc0956
commit 2749c37c43

View file

@ -91,7 +91,7 @@ static int eb_combi(const char *data, struct Client *client_p,
int allowed_nodes = 6;
size_t datalen;
if (recursion_depth >= 5) {
if (recursion_depth >= 2) {
DEBUG("combo invalid: recursion depth too high");
return EXTBAN_INVALID;
}