]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
plugins: quota: quota-status - Fix protocol hang occurring when recipient address...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 4 Nov 2018 16:45:29 +0000 (17:45 +0100)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Wed, 4 Dec 2019 18:11:10 +0000 (18:11 +0000)
The line handler returned 0 in the event of an invalid recipient address, which
halts input handling.

src/plugins/quota/quota-status.c

index d3897f4e1101ad1b4467565b7d38341cd0812e22..8a8b5c922013adb0b633947076776e585625ae78 100644 (file)
@@ -206,7 +206,6 @@ static int client_input_line(struct connection *conn, const char *line)
                        e_error(client->event, "quota-status: "
                                "Client sent invalid recipient address `%s': "
                                "%s", str_sanitize(line + 10, 256), error);
-                       return 0;
                }
        } else if (str_begins(line, "size=")) {
                if (str_to_uoff(line+5, &client->size) < 0)