Package: cyrus-admin
Version: 3.0.8-6+deb10u4
Severity: normal

Dear Maintainer,

The sieveshell command does not work correctly after the quit command:

$ sieveshell localhost
connecting to localhost
Please enter your password:
> list
main  <- active script
> quit
> list
Segmentation fault

Rather than accepting further commands after quit, sieveshell should just exit
as $obj becomes NULL and is not usable anymore:

    } elsif (($words[0] eq "quit") || ($words[0] eq "q")) {
        sieve_logout($obj);
+       last;
    }

This is a Debian specific problem, as the upstream version already has
exit 0 in place of last.

-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cyrus-admin depends on:
ii  cyrus-common        3.0.8-6+deb10u4
ii  dpkg                1.19.7
ii  libcyrus-imap-perl  3.0.8-6+deb10u4
ii  perl                5.28.1-6

cyrus-admin recommends no packages.

Versions of packages cyrus-admin suggests:
ii  sasl2-bin  2.1.27+dfsg-1+deb10u1

-- no debconf information

Reply via email to