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
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;