[dovecot/core] d3928f: lib: Added i_memdup().

GitHub noreply at github.com
Thu Apr 19 19:30:18 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d3928f47e4b0c693f0e852a81677e2b5f0c78728
      https://github.com/dovecot/core/commit/d3928f47e4b0c693f0e852a81677e2b5f0c78728
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

  Changed paths:
    M src/lib/imem.c
    M src/lib/imem.h

  Log Message:
  -----------
  lib: Added i_memdup().


  Commit: dbc81a495bfb1757ddb070cc90c79b6c9325c6ec
      https://github.com/dovecot/core/commit/dbc81a495bfb1757ddb070cc90c79b6c9325c6ec
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

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

  Log Message:
  -----------
  lib-mail: test-message-address: Use i_memdup() rather than explicit malloc(), memcpy().


  Commit: 31c0370175cf54526ebcfb2d800010f9496f9d37
      https://github.com/dovecot/core/commit/31c0370175cf54526ebcfb2d800010f9496f9d37
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

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

  Log Message:
  -----------
  lib-mail: test-message-address: Add test for parsing empty path.


  Commit: 3aa6ec17078d8c1e4ab3c7bb7424ed646b917636
      https://github.com/dovecot/core/commit/3aa6ec17078d8c1e4ab3c7bb7424ed646b917636
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

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

  Log Message:
  -----------
  lib-mail: message-address: Properly deinit RFC822 parser in message_address_parse_path().


  Commit: 4b734da489c1acdb1959b0c7be2adeb7048e187d
      https://github.com/dovecot/core/commit/4b734da489c1acdb1959b0c7be2adeb7048e187d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

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

  Log Message:
  -----------
  lib-mail: message-address: Require paths with an invalid source route to have at least a proper `:'.

Otherwise, the parser would allow a bare domain.


  Commit: f2b3bfec9f48f42a035f5404c2cb88595c1c4858
      https://github.com/dovecot/core/commit/f2b3bfec9f48f42a035f5404c2cb88595c1c4858
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

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

  Log Message:
  -----------
  lib-mail: message-address: Make sure incomplete paths are rejected by parser.


  Commit: 8580f2e7a5fd23a8c48fe34b737ebab5e730c82d
      https://github.com/dovecot/core/commit/8580f2e7a5fd23a8c48fe34b737ebab5e730c82d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

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

  Log Message:
  -----------
  lib-mail: message-address: Make parser properly reject paths with spurious trailing characters.


  Commit: 5c62b6eebed4e33bbbcd4b01f7aff38196673370
      https://github.com/dovecot/core/commit/5c62b6eebed4e33bbbcd4b01f7aff38196673370
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

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

  Log Message:
  -----------
  lib-mail: message-address: Make the parser allow paths that omit `<' and `>'.

This is a syntax violation, but we allow it to account for a rather wide
selection of software that does not follow the standards.


Compare: https://github.com/dovecot/core/compare/fa1e9061c666...5c62b6eebed4


More information about the dovecot-cvs mailing list