You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/03/22 10:56:33 UTC
svn commit: r387814 -
/webservices/axis2/trunk/c/modules/platforms/windows/uuid_gen_windows.c
Author: sahan
Date: Wed Mar 22 01:56:31 2006
New Revision: 387814
URL: http://svn.apache.org/viewcvs?rev=387814&view=rev
Log:
Fixed a crash in windows platform_uuid_gen
Modified:
webservices/axis2/trunk/c/modules/platforms/windows/uuid_gen_windows.c
Modified: webservices/axis2/trunk/c/modules/platforms/windows/uuid_gen_windows.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/platforms/windows/uuid_gen_windows.c?rev=387814&r1=387813&r2=387814&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/platforms/windows/uuid_gen_windows.c (original)
+++ webservices/axis2/trunk/c/modules/platforms/windows/uuid_gen_windows.c Wed Mar 22 01:56:31 2006
@@ -27,7 +27,12 @@
UUID uuid;
unsigned char *str;
axis2_char_t *retstr;
-
+
+ if(NULL == s)
+ {
+ return NULL;
+ }
+ retstr = s;
retval = UuidCreate(&uuid);
if (retval == RPC_S_UUID_LOCAL_ONLY)
printf("warning - unique within computer \n");