[dovecot/core] 39d97b: lib: stop using first_fd as loop counter in fd_deb...

GitHub noreply at github.com
Thu Aug 11 20:00:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 39d97b496a439cc1fd4616265c114fec39c7d90b
      https://github.com/dovecot/core/commit/39d97b496a439cc1fd4616265c114fec39c7d90b
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-08-11 (Thu, 11 Aug 2016)

  Changed paths:
    M src/lib/fd-close-on-exec.c

  Log Message:
  -----------
  lib: stop using first_fd as loop counter in fd_debug_verify_leaks

Use a separate int fd to iterate [first_fd, last_fd] instead.


  Commit: 651e19486056ff405ae3c384e8f483c28a52d4b2
      https://github.com/dovecot/core/commit/651e19486056ff405ae3c384e8f483c28a52d4b2
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-08-11 (Thu, 11 Aug 2016)

  Changed paths:
    M src/lib/fd-close-on-exec.c

  Log Message:
  -----------
  lib: iterate all fds in fd_debug_verify_leaks, fail with i_fatal

There is no benefit in failing with i_panic here since the error is most
likely not in the stack trace here.


Compare: https://github.com/dovecot/core/compare/0ee8b8cf17de...651e19486056


More information about the dovecot-cvs mailing list