Files
asterisk/include/asterisk
Mark Michelson 9d1f176e29 res_pjsip: Copy default_from_user to avoid crash.
The default_from_user retrieval function was pulling the
default_from_user from the global configuration struct in an unsafe way.
If using a database as a backend configuration store, the global
configuration struct is short-lived, so grabbing a pointer from it
results in referencing freed memory.

The fix here is to copy the default_from_user value out of the global
configuration struct.

Thanks go to John Hardin for discovering this problem and proposing the
patch on which this fix is based.

ASTERISK-25390 #close
Reported by Mark Michelson

Change-Id: I6b96067a495c1259da768f4012d44e03e7c6148c
2015-09-10 09:49:45 -05:00
..
2015-04-12 13:48:10 -05:00
2012-06-25 15:55:25 +00:00
2007-12-11 14:17:29 +00:00
2009-04-29 18:53:01 +00:00
2014-07-24 17:50:46 +00:00
2006-11-15 20:55:17 +00:00
2013-07-25 04:06:32 +00:00
2013-08-22 18:52:41 +00:00
2012-08-30 14:23:28 +00:00
2008-07-21 21:00:47 +00:00
2012-08-30 14:23:28 +00:00
2009-03-18 02:28:55 +00:00
2015-08-07 14:55:53 -05:00
2013-08-30 20:58:59 +00:00
2014-07-04 13:26:37 +00:00
2013-07-03 17:58:45 +00:00
2015-06-08 11:09:22 -04:00
2014-01-06 17:45:25 +00:00
2012-09-21 17:14:59 +00:00
2012-02-24 15:10:35 +00:00
2015-01-26 14:49:32 +00:00
2011-10-11 19:06:29 +00:00
2014-07-21 08:41:29 +00:00
2013-04-22 16:22:00 +00:00
2013-05-08 13:39:08 +00:00
2013-02-14 18:47:56 +00:00
2007-12-11 22:20:22 +00:00
2007-12-11 22:20:22 +00:00
2013-02-15 13:38:12 +00:00