]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
pop3: Fix assert-crash when POP3 command name contained ':'
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 1 Dec 2022 10:37:17 +0000 (12:37 +0200)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Thu, 1 Dec 2022 13:13:49 +0000 (14:13 +0100)
commit439321dd17d481b0ac40005ae7fc908d8c87fe42
tree0a8b4bd87c2ad69913c61f265470289b2edd9e66
parent795f36cf5339d9d7a7b5bf415296f42c837dafbc
pop3: Fix assert-crash when POP3 command name contained ':'

The cmd_<name> reason code now only uses valid command names.

Broken by d2ab26be6038bd53b13a3ff18c403d6c192c1d91 with incomplete fix in
1309137812424c80e63d3c1052795b43d6e19803.

Fixes:
Panic: event_reason_code_prefix(): name has ':'
src/pop3/pop3-client.c
src/pop3/pop3-commands.c
src/pop3/pop3-commands.h