[dovecot/core] b3db98: doveadm: Extra safety - initialize cmd_input_fd to...

GitHub noreply at github.com
Mon Aug 8 10:00:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: b3db9827bde9c51f75e4c8c1ce554a65e3430c43
      https://github.com/dovecot/core/commit/b3db9827bde9c51f75e4c8c1ce554a65e3430c43
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M src/doveadm/doveadm-mail.c

  Log Message:
  -----------
  doveadm: Extra safety - initialize cmd_input_fd to -1

Just to be sure it's never attempted to be accessed as 0 (stdin) before
being initialized. (It didn't happen with current code as far as I know.)




More information about the dovecot-cvs mailing list