[dovecot/core] cb2605: fts: Fix indexing mails with NULs in headers

GitHub noreply at github.com
Tue Aug 28 11:30:06 EEST 2018


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

  Changed paths:
    M src/plugins/fts/fts-build-mail.c

  Log Message:
  -----------
  fts: Fix indexing mails with NULs in headers

After the first NUL all the rest of the string was converted to spaces.
This was broken already in the initial commit that attempted to fix this:
4d27f95c76bd008bb38f9c442567046da2b6ce14


  Commit: 1b72f71e3bf816a148f216d9e8afa28ced45b60c
      https://github.com/dovecot/core/commit/1b72f71e3bf816a148f216d9e8afa28ced45b60c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-08-28 (Tue, 28 Aug 2018)

  Changed paths:
    M src/plugins/fts/fts-build-mail.c

  Log Message:
  -----------
  fts: Optimize replacing NULs in header


Compare: https://github.com/dovecot/core/compare/fd0bb7b5d628...1b72f71e3bf8
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list