harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r475483 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Date Wed, 15 Nov 2006 23:13:57 GMT
Author: gshimansky
Date: Wed Nov 15 15:13:57 2006
New Revision: 475483

URL: http://svn.apache.org/viewvc?view=rev&rev=475483
Log:
Fixed crash when launcher is used without arguments. On x86_64 newPathToAdd is not NULL so
calling hymem_free_memory causes sigsegv


Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c?view=diff&rev=475483&r1=475482&r2=475483
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Wed Nov 15 15:13:57 2006
@@ -114,7 +114,7 @@
   int i;
   char *vmdllsubdir;
   char *vmiPath = NULL;
-  char *newPathToAdd;
+  char *newPathToAdd = NULL;
   char *propertiesFileName = NULL;
   char *exeName = NULL;
   char *exeBaseName;



Mime
View raw message