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

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


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e5377a6a3ccd989a7a68b826767c49ec8480e516
      https://github.com/OpenSIPS/opensips/commit/e5377a6a3ccd989a7a68b826767c49ec8480e516
  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