asterisk/pbx
Corey Farrell 53658a14cc Fix unsafe uses of ast_context pointers.
Although ast_context_find, ast_context_find_or_create and
ast_context_destroy perform locking of the contexts table,
any context pointer can become invalid at any time that the
contexts table is unlocked. This change adds locking around
all complete operations involving these functions.

Places where ast_context_find was followed by ast_context_destroy
have been replaced with calls ast_context_destroy_by_name.

ASTERISK-25094 #close
Reported by: Corey Farrell

Change-Id: I1866b6787730c9c4f3f836b6133ffe9c820734fa
2015-06-08 11:23:38 -04:00
..
ael/ael-test Merged revisions 299449 via svnmerge from 2010-12-22 20:10:34 +00:00
dundi-parser.c Fix printf problems with high ascii characters after r413586 (1.8). 2014-12-17 09:24:50 +00:00
dundi-parser.h Remove built-in AES code and use optional_api instead 2010-07-21 19:11:32 +00:00
Makefile Change per-file debug and verbose levels to be per-module, the way 2010-03-23 14:22:27 +00:00
pbx_ael.c Clean up and ensure proper usage of alloca() 2012-07-31 20:21:43 +00:00
pbx_config.c Fix unsafe uses of ast_context pointers. 2015-06-08 11:23:38 -04:00
pbx_dundi.c Allow Asterisk to compile under GCC 4.10 2014-05-09 22:28:40 +00:00
pbx_loopback.c pbx/pbx_loopback: Speed up switches by avoiding unneeded lookups 2014-12-02 16:54:45 +00:00
pbx_lua.c pbx_lua: fix regression with global sym export and context clash by pbx_config. 2014-08-06 16:08:07 +00:00
pbx_realtime.c Clean up and ensure proper usage of alloca() 2012-07-31 20:21:43 +00:00
pbx_spool.c pbx/pbx_spool: Fix issue when call files were executed too early 2015-05-11 20:28:52 +00:00