[OpenSIPS-Devel] [OpenSIPS/opensips] 4b3fd0: async: fix fd leaking and invalid memory overwrite

Razvan Crainea razvan at opensips.org
Mon Oct 8 06:27:10 EDT 2018


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4b3fd03d5582219c1f2ef380fd7daa4eba8bc6f4
      https://github.com/OpenSIPS/opensips/commit/4b3fd03d5582219c1f2ef380fd7daa4eba8bc6f4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-10-08 (Mon, 08 Oct 2018)

  Changed paths:
    M async.h
    M modules/tm/async.c
    M modules/tm/async.h
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  async: fix fd leaking and invalid memory overwrite

Also simplify the async interface to prevent dereferencing the fd.
This commit combines the following master commits:

9b45482861c53d79718f4eeff57a25b278964c5f
2b264d0b8c0b8f25d1e895247a1f0f8697ae34e5
ac549a0d5f3a084cd7034bf45b603f95c64025af

Kudos to Liviu Chircu for brainstorming and optimizing the initial fix.

(cherry picked from commit 989b7b939c1f88e4ba6fe18e44ec640ca2f9a467)
(cherry picked from commit 5de384726ab5485a266d20f471eb4d20c174d07f)



      **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 Devel mailing list