[Freeswitch-svn] [commit] r11952 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/sresolv
FreeSWITCH SVN
mikej at freeswitch.org
Thu Feb 12 13:17:44 PST 2009
Author: mikej
Date: Thu Feb 12 15:17:44 2009
New Revision: 11952
Log:
Thu Feb 12 14:24:41 CST 2009 Pekka Pessi <first.last at nokia.com>
* sres: sres_record_type() now checks pointer argument
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Thu Feb 12 15:17:44 2009
@@ -1 +1 @@
-Thu Feb 12 15:16:22 CST 2009
+Thu Feb 12 15:17:34 CST 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c Thu Feb 12 15:17:44 2009
@@ -1533,7 +1533,8 @@
case sres_qtype_any: return "ANY";
default:
- sprintf(buffer, "%u?", type & 65535);
+ if (buffer)
+ sprintf(buffer, "%u?", type & 65535);
return buffer;
}
}
More information about the Freeswitch-svn
mailing list