[OpenSIPS-Devel] [OpenSIPS/opensips] a823a0: Fix crash in bogus OOM handling while TCP async in...

Bogdan Andrei IANCU noreply at github.com
Wed Aug 17 10:11:16 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a823a080da466e4ca68c2d046bc08b907cc460f9
      https://github.com/OpenSIPS/opensips/commit/a823a080da466e4ca68c2d046bc08b907cc460f9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2022-08-17 (Wed, 17 Aug 2022)

  Changed paths:
    M net/net_tcp.c
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  Fix crash in bogus OOM handling while TCP async in enabled.

The async support assums the c->async exists all the time, so error if we cannot alloc the c->async struct while creating a new TCP conn

(cherry picked from commit 0b270ad04db8081bbb829f89fa515fa0c37698c7)





More information about the Devel mailing list