Files
asterisk/addons
Ivan Poddubny 41bf52315a addons/res_config_mysql: Don't mutate va_list parameters
The realtime API passes down the va_list argument to each RT engine in
failover chain until one succeeds. MySQL engine used to access the
variable argument list with va_arg, which mutates the va_list, so the
next engine in failover chain gets invalid agrument list.
This patch uses va_copy to preserve the original va_list argument intact.

ASTERISK-19538 #close
Reported by: alexat
Tested by: Ivan Poddubny

Change-Id: I7738b9f98bde81ddfbc2c0fa579d85a0c3e580ae
2015-04-29 07:59:39 +00:00
..
2015-04-12 13:49:40 -05:00
2012-01-24 20:12:09 +00:00