Files
asterisk/main
Matt Jordan 45cf79665c main/config_options: Check for existance of internal object before derefing
Asterisk can load and register an object type while still having an invalid
sorcery mapping. This can cause an issue when a creation call is invoked.
For example, mis-configuring PJSIP's endpoint identifier by IP address mapping
in sorcery.conf will cause the sorcery mechanism to be invalidated; however, a
subsequent ARI invocation to create the object will cause a crash, as the
internal type may not be registered as sorcery expects.

Merely checking for a NULL pointer here solves the issue.

Change-Id: I54079fb94a1440992f4735a9a1bbf1abb1c601ac
2015-09-11 16:21:07 -05:00
..
2015-04-12 07:12:45 -04:00
2015-06-05 11:23:16 -05:00
2015-07-29 12:27:18 -05:00
2015-06-05 02:17:59 -05:00
2012-03-22 19:51:16 +00:00
2015-06-10 18:06:15 -05:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2015-08-07 14:57:45 -05:00
2015-07-12 20:44:16 -05:00
2015-06-08 09:44:04 -05:00
2012-09-21 17:14:59 +00:00
2015-06-08 09:44:04 -05:00