axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r816877 - /webservices/axis2/trunk/c/util/src/date_time.c
Date Sat, 19 Sep 2009 09:36:50 GMT
Author: nandika
Date: Sat Sep 19 09:36:49 2009
New Revision: 816877

URL: http://svn.apache.org/viewvc?rev=816877&view=rev
Log:
Error checking in date_time.c deserialize_date function added

Modified:
    webservices/axis2/trunk/c/util/src/date_time.c

Modified: webservices/axis2/trunk/c/util/src/date_time.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/date_time.c?rev=816877&r1=816876&r2=816877&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/date_time.c (original)
+++ webservices/axis2/trunk/c/util/src/date_time.c Sat Sep 19 09:36:49 2009
@@ -206,6 +206,10 @@
     {
         return AXIS2_FAILURE;
     }
+	if(strchr(date_str,'T'))
+	{
+		return AXIS2_FAILURE;
+	}
     if(*date_str == '-')
     {
         is_year_neg++;



Mime
View raw message