[dovecot/pigeonhole] a5b04e: managesieve: Don't access login_set.*_socket_path ...

GitHub noreply at github.com
Fri Nov 3 22:20:53 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/pigeonhole
  Commit: a5b04e7a7f9c99d25c02225ca1d13f1fff4023c3
      https://github.com/dovecot/pigeonhole/commit/a5b04e7a7f9c99d25c02225ca1d13f1fff4023c3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M src/managesieve/main.c

  Log Message:
  -----------
  managesieve: Don't access login_set.*_socket_path after they're freed from data stack

Call master_login_init() before master_service_init_finish(), which frees
all the data stack done in initialization.

This didn't normally cause any visible problems, because data stack wasn't
currently being used in a way that the strings were invalidated. However,
it was causing failures if --enable-devel-checks was used.




More information about the dovecot-cvs mailing list