[dovecot/core] 4e45cd: fts: Fix indexing input that contains NULs

GitHub noreply at github.com
Fri Apr 27 14:30:21 EEST 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 4e45cd049a49ee4da18f020b12ed38086b4f8ef0
      https://github.com/dovecot/core/commit/4e45cd049a49ee4da18f020b12ed38086b4f8ef0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-27 (Fri, 27 Apr 2018)

  Changed paths:
    M src/plugins/fts/fts-parser.c

  Log Message:
  -----------
  fts: Fix indexing input that contains NULs

Any message_block that contained NULs, but otherwise was valid UTF-8, was
simply dropped.


  Commit: 60af6cf128d5e1b7ae8cd6bfff659869174987e2
      https://github.com/dovecot/core/commit/60af6cf128d5e1b7ae8cd6bfff659869174987e2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-27 (Fri, 27 Apr 2018)

  Changed paths:
    M src/lib-fts/test-fts-tokenizer.c

  Log Message:
  -----------
  lib-fts: Minor fix to randomness test in test-fts-tokenizer

If the random input was entirely valid UTF-8, the input was truncated to
empty.


Compare: https://github.com/dovecot/core/compare/b1b531b37209...60af6cf128d5


More information about the dovecot-cvs mailing list