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

Liviu Chircu noreply at github.com
Tue Aug 6 08:07:44 UTC 2024


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



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



More information about the Devel mailing list