[Freeswitch-svn] [commit] r13347 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nea
FreeSWITCH SVN
mikej at freeswitch.org
Fri May 15 09:14:01 PDT 2009
Author: mikej
Date: Fri May 15 11:14:01 2009
New Revision: 13347
Log:
Wed May 13 13:07:25 CDT 2009 Pekka Pessi <first.last at nokia.com>
* nea_server.c: check params in nea_event_tcreate()
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Fri May 15 11:14:01 2009
@@ -1 +1 @@
-Fri May 15 11:13:02 CDT 2009
+Fri May 15 11:13:34 CDT 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c Fri May 15 11:14:01 2009
@@ -1222,6 +1222,9 @@
size_t len = strlen(name);
ta_list ta;
+ if (nes == NULL || callback == NULL || name == NULL)
+ return NULL;
+
/* Find a matching event */
if (subname == NULL) {
for (pev = &nes->nes_events; (ev = *pev); pev = &(*pev)->ev_next) {
More information about the Freeswitch-svn
mailing list