From bfc788898ec7b0186bd4f27197f9c0cf6b07faea Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 10 Feb 2010 14:38:24 +0000 Subject: [PATCH] SFSIP-200 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16598 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 7213d3545e..901c0afe6a 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -143,7 +143,7 @@ static char *strip_quotes(const char *in) char *t = (char *) in; char *r = (char *) in; - if (*t == '"') { + if (t && *t == '"') { t++; if (end_of(t) == '"') {