[dovecot/core] d60ff6: lib-test: Fix illegal memory access in test-ostrea...

GitHub noreply at github.com
Mon Oct 3 09:00:11 UTC 2016


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

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

  Log Message:
  -----------
  lib-test: Fix illegal memory access in test-ostream


  Commit: 27ba8acc6bb1a5a506337a51482f6d4c7833e8c9
      https://github.com/dovecot/core/commit/27ba8acc6bb1a5a506337a51482f6d4c7833e8c9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-03 (Mon, 03 Oct 2016)

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

  Log Message:
  -----------
  lib-test: Fix memory leak in test-ostream


  Commit: 61f962e8f32a4870d08fb6f2189fdf6a10fd1abb
      https://github.com/dovecot/core/commit/61f962e8f32a4870d08fb6f2189fdf6a10fd1abb
  Author: Stephan Bosch <stephan at dovecot.fi>
  Date:   2016-10-03 (Mon, 03 Oct 2016)

  Changed paths:
    M src/lib/uri-util.c

  Log Message:
  -----------
  lib: uri-util: Always fully check the syntax of percent encoding while parsing URI components.


  Commit: 957f71b0b0e5589b2e2a0086fb094edaee723c7a
      https://github.com/dovecot/core/commit/957f71b0b0e5589b2e2a0086fb094edaee723c7a
  Author: Stephan Bosch <stephan at dovecot.fi>
  Date:   2016-10-03 (Mon, 03 Oct 2016)

  Changed paths:
    M src/lib-http/http-url.c

  Log Message:
  -----------
  lib-http: uri: Removed unnecessary checking of percent encoding of query and fragment parts.

This is now always performed in lib/uri-util.


  Commit: 458d877d84f62005e0ffc338f8591a8e2a36adad
      https://github.com/dovecot/core/commit/458d877d84f62005e0ffc338f8591a8e2a36adad
  Author: Stephan Bosch <stephan at rename-it.nl>
  Date:   2016-10-03 (Mon, 03 Oct 2016)

  Changed paths:
    M src/lib/Makefile.am
    M src/lib/test-lib.inc
    A src/lib/test-uri.c
    M src/lib/uri-util.c
    M src/lib/uri-util.h

  Log Message:
  -----------
  lib: uri-util: Implemented API to check generic URI syntax.

This allows checking whether something is a valid URI of any type.
This change adds a test suite for the generic URI syntax, which is currently the main purpose of the API addition.
Apart from a few simple vality checks, the test suite also tests various URI examples from RFCs.


Compare: https://github.com/dovecot/core/compare/dfa23b2ddc43...458d877d84f6


More information about the dovecot-cvs mailing list