[dovecot/core] 7f4bcb: imap, pop3: Don't access login_set.*_socket_path a...

GitHub noreply at github.com
Fri Nov 3 00:00:10 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 7f4bcbb9f2d97745a12d301b9ee276200ac58605
      https://github.com/dovecot/core/commit/7f4bcbb9f2d97745a12d301b9ee276200ac58605
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-02 (Thu, 02 Nov 2017)

  Changed paths:
    M src/imap/main.c
    M src/pop3/main.c

  Log Message:
  -----------
  imap, pop3: 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