[dovecot/core] 5e6b52: lib: istream-try - Don't assert-crash with empty p...

GitHub noreply at github.com
Mon Jul 30 10:00:13 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 5e6b52393650885e576176b928d5c1540903670a
      https://github.com/dovecot/core/commit/5e6b52393650885e576176b928d5c1540903670a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-30 (Mon, 30 Jul 2018)

  Changed paths:
    M src/lib/istream-try.c
    M src/lib/test-istream-try.c

  Log Message:
  -----------
  lib: istream-try - Don't assert-crash with empty parent istream

Fixes:
Panic: file istream.c: line 327 (i_stream_read_memarea): assertion failed: (stream->eof)


  Commit: 7e5171207d426bb9f165ec293afc390b4b2227d6
      https://github.com/dovecot/core/commit/7e5171207d426bb9f165ec293afc390b4b2227d6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-30 (Mon, 30 Jul 2018)

  Changed paths:
    M src/lib-master/stats-client.c

  Log Message:
  -----------
  lib-master: If stats process wants no events, send nothing to it

Instead of sending everything to it..


  Commit: 7644d4ef63b8c1db35ed044f86aeeb98acf21fae
      https://github.com/dovecot/core/commit/7644d4ef63b8c1db35ed044f86aeeb98acf21fae
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-07-30 (Mon, 30 Jul 2018)

  Changed paths:
    M src/lib-http/http-server-request.c
    M src/lib-http/http-server-response.c

  Log Message:
  -----------
  lib-http: server: Allow resubmitting a response, as long as it is not sent yet.


  Commit: 5f54a3ae04d6acae28f1d5d5b906a97c24d51b07
      https://github.com/dovecot/core/commit/5f54a3ae04d6acae28f1d5d5b906a97c24d51b07
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-07-30 (Mon, 30 Jul 2018)

  Changed paths:
    M src/lib-http/http-server-connection.c

  Log Message:
  -----------
  lib-http: server: Properly handle payload stream errors while finishing a request.

Errors from the (chunked) payload stream would cause assertion panics at that point.


  Commit: 3611b04138ff5d4ceb6aa45d916dcda90fdae1b7
      https://github.com/dovecot/core/commit/3611b04138ff5d4ceb6aa45d916dcda90fdae1b7
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-07-30 (Mon, 30 Jul 2018)

  Changed paths:
    M src/lib-http/http-server-connection.c

  Log Message:
  -----------
  lib-http: server: Properly handle corrupt payload while finishing a request.

The HTTP_REQUEST_PARSE_ERROR_BROKEN_REQUEST was not handled, causing an
assertion panic. This situation occurred when the chunked transfer encoding was
invalid.


Compare: https://github.com/dovecot/core/compare/beebf64fef9c...3611b04138ff
      **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