[dovecot/core] 9c93b5: lib-index: Remove size from struct mail_keywords.i...

GitHub noreply at github.com
Thu Sep 14 12:00:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 9c93b5764f84126b3362cd96da4bd9b4de078bc7
      https://github.com/dovecot/core/commit/9c93b5764f84126b3362cd96da4bd9b4de078bc7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/lib-index/mail-index.c
    M src/lib-index/mail-index.h

  Log Message:
  -----------
  lib-index: Remove size from struct mail_keywords.idx[]

This was confusing static analyzers, which thought that using [1] meant that
its size really was 1.


  Commit: d4e097fbc4deecd044dd43bc497048c79fd9861b
      https://github.com/dovecot/core/commit/d4e097fbc4deecd044dd43bc497048c79fd9861b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/lib-mail/message-size.c
    M src/lib/str-sanitize.c

  Log Message:
  -----------
  global: Add asserts to help static analyzers


  Commit: 3226cfcb9aed8fcf1582fbe3dce40bbb6532536f
      https://github.com/dovecot/core/commit/3226cfcb9aed8fcf1582fbe3dce40bbb6532536f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/lib-mail/message-header-encode.c

  Log Message:
  -----------
  lib-mail: message_header_encode() cleanup - simplify pointer arithmetic

This should make static analyzers happier.


Compare: https://github.com/dovecot/core/compare/2462c09be842...3226cfcb9aed


More information about the dovecot-cvs mailing list