[OpenSIPS-Devel] [OpenSIPS/opensips] c9dc09: mi_script: Avoid race condition in async(mi())

Liviu Chircu noreply at github.com
Tue Aug 6 08:10:21 UTC 2024


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c9dc0908dc344cdb24391d947f38750af725607a
      https://github.com/OpenSIPS/opensips/commit/c9dc0908dc344cdb24391d947f38750af725607a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M modules/mi_script/mi_script.c

  Log Message:
  -----------
  mi_script: Avoid race condition in async(mi())

Make sure to read & clean @job->req before dispatching @job to a
different OpenSIPS worker, which may do a quick free() on it.

Credits to Suchi Sahoo from Five9 for reporting!

(cherry picked from commit c7a9f68d12da814e25c4c7b0398aeccf2fdbcb95)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list