[dovecot/core] 5fc1d7: unichar: Add uni_is_valid_ucs4

GitHub noreply at github.com
Mon Oct 23 16:30:14 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 5fc1d7c7caffa7e5616a1681503dfea0fc582aae
      https://github.com/dovecot/core/commit/5fc1d7c7caffa7e5616a1681503dfea0fc582aae
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/unichar.h

  Log Message:
  -----------
  unichar: Add uni_is_valid_ucs4


  Commit: 2bb5b6721e9971b3bcbb2da48eebead7fd9488ee
      https://github.com/dovecot/core/commit/2bb5b6721e9971b3bcbb2da48eebead7fd9488ee
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/unichar.h

  Log Message:
  -----------
  unichar: Add surrogate handling


  Commit: c47167da2f6443479e5c44ab31d2974252abdfd8
      https://github.com/dovecot/core/commit/c47167da2f6443479e5c44ab31d2974252abdfd8
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/unichar.h

  Log Message:
  -----------
  unichar: Use surrogate macros in ucs4 validity check


  Commit: 2f40603562d4cf3fad0bc8ff1f10f652cedd77df
      https://github.com/dovecot/core/commit/2f40603562d4cf3fad0bc8ff1f10f652cedd77df
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/json-parser.c

  Log Message:
  -----------
  json-parser: Fix unicode parsing

Check for surrogates and validate ucs4 codepoint.


  Commit: dcd2bdbf744e4b0b4bb26bb0acbf1c16c715029d
      https://github.com/dovecot/core/commit/dcd2bdbf744e4b0b4bb26bb0acbf1c16c715029d
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/unichar.c

  Log Message:
  -----------
  unichar: Do not accept invalid ranges

As per RFC3629


  Commit: e7e451b7d9339883db29bad79df5256f9b410652
      https://github.com/dovecot/core/commit/e7e451b7d9339883db29bad79df5256f9b410652
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/test-unichar.c

  Log Message:
  -----------
  test-unichar: Update test to conform RFC3629


  Commit: 9b26e0815de529575947efcf62b90d6e220d83a6
      https://github.com/dovecot/core/commit/9b26e0815de529575947efcf62b90d6e220d83a6
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/test-unichar.c

  Log Message:
  -----------
  test-unichar: Add test for surrogate handling


  Commit: a01faca549a403b2eda938cea0b1fb76c3ff44b6
      https://github.com/dovecot/core/commit/a01faca549a403b2eda938cea0b1fb76c3ff44b6
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/json-parser.c
    M src/lib/test-json-parser.c

  Log Message:
  -----------
  test-json-parser: Update tests

Now that we actually check for valid unicode,
the tests need to have valid unicode and invalid unicode
in correct places.


  Commit: 95f5b08fa73ddd9a9de40a97aa141e9c74e0645e
      https://github.com/dovecot/core/commit/95f5b08fa73ddd9a9de40a97aa141e9c74e0645e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib/test-json-parser.c

  Log Message:
  -----------
  test-json-parser: Use idx to better identify failing case


  Commit: 0190b33c05bd72f1049255d03a7b5217ff1bbced
      https://github.com/dovecot/core/commit/0190b33c05bd72f1049255d03a7b5217ff1bbced
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

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

  Log Message:
  -----------
  lib-fts: Fix test-fts-filter to use valid unicode


Compare: https://github.com/dovecot/core/compare/f8cd64fc6864...0190b33c05bd


More information about the dovecot-cvs mailing list