[Dovecot] GETSCRIPT Bug in dovecot-1.0.10-MANAGESIEVE-v9.1.diff.gz

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Fri Feb 29 14:45:11 EET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Stephan,

GETSCRIPT does not return a literal, there is the + character missing 
before }:

diff -r bcebda39c0ed src/managesieve/cmd-getscript.c
- --- a/src/managesieve/cmd-getscript.c   Mon Feb 18 14:13:12 2008 +0100
+++ b/src/managesieve/cmd-getscript.c   Fri Feb 29 11:52:00 2008 +0100
@@ -112,7 +112,7 @@
                 return cmd_getscript_finish(ctx);
         }

- -       client_send_line(client, t_strdup_printf("{%"PRIuUOFF_T"}", 
ctx->scriptsize));
+       client_send_line(client, t_strdup_printf("{%"PRIuUOFF_T"+}", 
ctx->scriptsize));

         client->command_pending = TRUE;
         cmd->func = cmd_getscript_continue;

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHx/5aVJMDrex4hCIRAkVLAKDRtWkG5fkLi4XmsYmoSktLGL7IxACfUhNt
UwvPeQokHV5nvELkXPMfrjg=
=8EhM
-----END PGP SIGNATURE-----


More information about the dovecot mailing list