diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 21:03:27 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 21:03:27 +0000 |
commit | 1a733d34e5ca22123b4ab101dbf35364d93b5194 (patch) | |
tree | 70701de46d501a8161f61e98fa47f214dc6f8532 /channels | |
parent | 4a6f77fa79140f5ce3c3c593758d36ee40c3d432 (diff) |
Merged revisions 80390 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80390 | russell | 2007-08-22 16:00:44 -0500 (Wed, 22 Aug 2007) | 3 lines
Don't crash when using realtime in chan_sip without an insecure setting in the database.
(closes issue #10348, reported by link55, fixed by me)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80391 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ba6b4ba9d..7fc3559e3 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16841,6 +16841,9 @@ static struct ast_channel *sip_request_call(const char *type, int format, void * static void set_insecure_flags (struct ast_flags *flags, const char *value, int lineno) { + if (ast_strlen_zero(value)) + return; + if (!ast_false(value)) { char buf[64]; char *word, *next; |