Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f522b0ef089e12375b6dc184f5643c11312d1ebc
      
https://github.com/OpenSIPS/opensips/commit/f522b0ef089e12375b6dc184f5643c11312d1ebc
  Author: Liviu Chircu <[email protected]>
  Date:   2017-08-30 (Wed, 30 Aug 2017)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix mem corruption on SIP retransmissions

The TMCB_RESPONSE_IN function gets called once per each retransmission,
and we want to avoid this in the mid_registrar code. Since the callbacks
themselves are mutually exclusive, we can get away with zeroizing our own
parameter after the first run.

A better way of fixing this would be to extend the tm callback API to
include SIP retransmission preferences.


_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to