Files
asterisk/main
Matthew Jordan 505d1095a3 pbx.c: put copy of ast_exten.data on stack to prevent memory corruption
During dialplan execution in pbx_extension_helper(), the contexts global
read lock prevents link list corruption, but was released with a pointer
to the ast_exten and data later used in variable substitution.  Instead,
this patch removes pbx_substitute_variables() and locates a copy of the
ast_exten data on the stack before releasing the lock, where ast_exten
could get free'd by another thread performing a module reload.

(issue AST-1179)
Reported by: Thomas Arimont
(issue AST-1246)
Reported by: Alexander Hömig
Review: https://reviewboard.asterisk.org/r/3055/
........

Merged revisions 403862 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 403863 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/11.6@405578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-01-15 15:27:36 +00:00
..
2012-12-03 20:43:03 +00:00
2012-06-15 16:20:16 +00:00
2012-03-24 02:42:42 +00:00
2013-08-20 15:27:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-07-06 15:31:52 +00:00
2013-10-18 16:38:45 +00:00
2012-06-15 16:20:16 +00:00
2013-08-30 19:16:20 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2013-12-19 16:38:50 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 00:34:46 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 17:56:56 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 17:56:56 +00:00
2013-08-21 17:07:06 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-02-26 19:19:51 +00:00
2012-04-28 01:33:49 +00:00
2013-04-18 16:07:03 +00:00
2013-08-30 19:16:20 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-09-25 23:09:40 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 20:45:02 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-07-30 23:26:51 +00:00
2013-08-30 19:16:20 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00