Skip to content
Snippets Groups Projects
Commit eb6813cc authored by Russell Bryant's avatar Russell Bryant
Browse files

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: https://origsvn.digium.com/svn/asterisk/trunk@80391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f04ed464
No related branches found
No related tags found
No related merge requests found
...@@ -16841,6 +16841,9 @@ static struct ast_channel *sip_request_call(const char *type, int format, void * ...@@ -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) static void set_insecure_flags (struct ast_flags *flags, const char *value, int lineno)
{ {
if (ast_strlen_zero(value))
return;
if (!ast_false(value)) { if (!ast_false(value)) {
char buf[64]; char buf[64];
char *word, *next; char *word, *next;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment