[OpenSIPS-Devel] [OpenSIPS/opensips] 6bae52: proto_wss: proper cleanup wss connection in case o...

Răzvan Crainea noreply at github.com
Tue Jun 16 12:28:12 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6bae525ca74d217c4ba094ea6925050b1060dac0
      https://github.com/OpenSIPS/opensips/commit/6bae525ca74d217c4ba094ea6925050b1060dac0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  proto_wss: proper cleanup wss connection in case of tls error

When TLS domain is not found, or the SSL context cannot be created, make
sure the connection does not keep an hanging `proto_data` that will be
later double-freed by the cleanup routine.

Credits go to Jonathan Hulme (@digipigeon) for reporting this.

Close #2123





More information about the Devel mailing list