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-04-13 03:48:57 -04:00
2015-06-05 11:23:16 -05:00
2015-04-13 03:48:57 -04:00
2015-04-30 10:43:51 -05:00
2014-05-09 22:49:26 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-13 21:55:07 -04:00
2015-04-29 01:02:10 -04:00
2012-07-11 17:16:50 +00:00
2015-05-13 21:55:07 -04:00
2015-05-13 21:55:07 -04:00
2015-07-12 20:44:16 -05:00
2014-04-23 15:02:39 +00:00
2013-08-22 08:26:55 +00:00
2015-07-02 05:24:43 -05:00
2015-05-13 21:55:07 -04:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-05-25 02:18:58 -05:00
2015-04-27 18:37:26 -04:00
2015-04-27 18:37:26 -04:00
2015-05-22 17:09:47 -05:00
2015-08-13 17:59:18 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-05 18:23:38 -05:00
2015-08-24 11:12:57 -05:00
2015-04-13 03:48:57 -04:00
2015-07-13 12:57:56 -05:00
2015-07-12 20:44:16 -05:00
2015-04-13 03:48:57 -04:00
2015-04-17 15:58:07 -05:00
2015-06-15 10:35:01 -05:00
2015-04-13 03:48:57 -04:00
2015-07-01 16:53:17 -05:00
2015-07-29 12:27:18 -05:00
2015-04-13 03:48:57 -04:00
2015-06-05 02:17:59 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-09-11 16:21:07 -05:00
2015-07-02 07:31:56 -05:00
2015-04-13 03:48:57 -04:00
2015-07-24 09:35:17 -05:00
2015-04-13 03:48:57 -04:00
2012-03-22 19:51:16 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-07-11 10:33:38 -05:00
2015-04-17 15:58:07 -05:00
2015-07-31 09:44:20 -05:00
2015-04-13 03:48:57 -04:00
2015-06-10 18:06:15 -05:00
2015-07-02 08:54:51 -03:00
2015-05-10 10:39:32 -03:00
2015-07-07 21:31:49 -05:00
2015-04-10 13:32:24 +00:00
2015-04-13 03:48:57 -04:00
2015-07-31 09:44:20 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2012-03-22 19:51:16 +00:00
2015-09-04 09:26:46 -05:00
2015-04-13 03:48:57 -04:00
2015-04-23 11:39:13 -05:00
2014-11-17 16:58:52 +00:00
2015-05-02 19:31:12 -05:00
2015-05-20 19:10:49 -05:00
2015-04-13 03:48:57 -04:00
2012-03-22 19:51:16 +00:00
2015-04-27 18:37:26 -04:00
2015-07-11 16:06:13 -05:00
2015-04-13 03:48:57 -04:00
2015-08-10 12:47:56 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2012-06-15 16:20:16 +00:00
2015-04-17 15:58:07 -05:00
2015-05-13 21:55:07 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-05 11:38:54 -05:00
2012-01-30 21:21:16 +00:00
2015-07-13 14:29:27 -05:00
2015-04-13 03:48:57 -04:00
2015-08-07 14:57:45 -05:00
2015-08-07 19:35:13 -05:00
2015-04-13 03:48:57 -04:00
2015-06-26 10:34:31 -05:00
2015-05-26 16:47:55 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-06 06:32:54 -03:00
2015-04-17 15:58:07 -05:00
2015-04-13 03:48:57 -04:00
2015-07-12 20:44:16 -05:00
2014-07-20 22:06:33 +00:00
2015-05-14 11:25:09 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-04 20:47:01 -04:00
2015-09-02 12:47:51 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2010-09-07 19:09:08 +00:00
2015-06-08 09:44:04 -05:00
2015-04-13 03:48:57 -04:00
2015-08-20 11:56:13 -05:00
2015-04-13 03:48:57 -04:00
2015-08-28 20:04:53 -05:00
2015-05-21 05:15:41 -05:00
2015-04-23 11:39:13 -05:00
2015-04-13 03:48:57 -04:00
2012-09-21 17:14:59 +00:00
2012-10-11 15:49:02 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-08-17 11:03:06 -05:00
2015-03-26 22:24:26 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-29 14:52:41 -05:00
2015-04-13 03:48:57 -04:00
2015-06-08 09:44:04 -05:00
2015-05-26 16:47:55 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-05-22 22:30:22 -05:00
2013-01-19 20:54:07 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-08-29 10:44:27 -05:00
2015-06-02 11:53:17 -05:00
2015-04-13 03:48:57 -04:00
2015-05-01 22:17:17 -05:00
2015-06-24 17:13:31 -05:00
2015-06-25 14:33:44 -05:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00
2014-08-21 14:42:12 +00:00
2015-09-03 21:29:37 -05:00
2014-12-17 10:23:32 +00:00
2015-04-13 03:48:57 -04:00
2015-04-13 03:48:57 -04:00