[OpenSIPS-Devel] [OpenSIPS/opensips] 4b2250: mi_xmlrpc: fix crash when flushing complex MI tree...
Liviu Chircu
liviu at opensips.org
Thu Apr 3 16:23:43 CEST 2014
Branch: refs/heads/1.11
Home: https://github.com/OpenSIPS/opensips
Commit: 4b22509fe88bca0017b5b4785a7e56b634a30124
https://github.com/OpenSIPS/opensips/commit/4b22509fe88bca0017b5b4785a7e56b634a30124
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-04-03 (Thu, 03 Apr 2014)
Changed paths:
M modules/mi_xmlrpc/xr_server.c
M modules/mi_xmlrpc/xr_writer.c
M modules/mi_xmlrpc/xr_writer.h
Log Message:
-----------
mi_xmlrpc: fix crash when flushing complex MI trees as strings
* crash was replicated with "ul_dump" command at 51+ contacts
- "reply_option" must be disabled
This patch solves a couple of other issues:
* properly mark completed nodes when "reply_option" = 0
* a rare memory leak when flushing empty "mi_node"s
(cherry picked from commit f5da89d27099f405e1242347bdf9e3cb6368423c)
More information about the Devel
mailing list