[dovecot/core] 659101: lib-mail: test-message-address - Test NULs in disp...

GitHub noreply at github.com
Mon Aug 20 09:00:06 EEST 2018


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

  Changed paths:
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: test-message-address - Test NULs in display-name


  Commit: 010a14140a255280e183e88050961cfce6f8d688
      https://github.com/dovecot/core/commit/010a14140a255280e183e88050961cfce6f8d688
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

  Changed paths:
    M src/lib-mail/rfc822-parser.c
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: rfc822-parser - Handle \<NUL> in quoted-string and domain-literal

It was already handled in comments. Previously this caused the strings and
domain-literals to be truncated at that position.


  Commit: 72298f86f639dbe0f3306cb70c7733be825dcd8c
      https://github.com/dovecot/core/commit/72298f86f639dbe0f3306cb70c7733be825dcd8c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

  Changed paths:
    M src/lib-mail/message-part-data.c

  Log Message:
  -----------
  lib-mail: Cleanup - Rename internal hdr_strdup() to message_header_strdup()


  Commit: 5bd249d40b2a2853a83a918b15f1ce4a2fb44091
      https://github.com/dovecot/core/commit/5bd249d40b2a2853a83a918b15f1ce4a2fb44091
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

  Changed paths:
    M src/lib-mail/message-header-parser.c
    M src/lib-mail/message-header-parser.h
    M src/lib-mail/message-part-data.c

  Log Message:
  -----------
  lib-mail: Make message_header_strdup() public

Also move it to a better file.


  Commit: 53712af0e7f357e7279d9ff03831428aae85aa45
      https://github.com/dovecot/core/commit/53712af0e7f357e7279d9ff03831428aae85aa45
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-08-17 (Fri, 17 Aug 2018)

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

  Log Message:
  -----------
  lib-storage: Fix NUL handling in mail_get_first_header*(), mail_get_headers*()

These functions return NUL-terminated values, so they got truncated whenever
a header value contained a NUL. Fix this by converting NULs to unicode
replacement characters in the output.


Compare: https://github.com/dovecot/core/compare/e5c4b2f0ef75...53712af0e7f3
      **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