2002-06-08 H.J. Lu (hjl@gnu.org)
* jcf-path.c (jcf_path_init): Allocate 1 more byte for string.
From-SVN: r54383
+2002-06-08 H.J. Lu (hjl@gnu.org)
+
+ * jcf-path.c (jcf_path_init): Allocate 1 more byte for string.
+
2002-06-03 Mark Mitchell <mark@codesourcery.com>
2002-05-18 Mark Mitchell <mark@codesourcery.com>
/* Desperation: use the installed one. */
char *extdirs;
add_entry (&sys_dirs, LIBGCJ_ZIP_FILE, 1);
- extdirs = (char *) alloca (strlen (LIBGCJ_ZIP_FILE));
+ extdirs = (char *) alloca (strlen (LIBGCJ_ZIP_FILE) + 1);
strcpy (extdirs, LIBGCJ_ZIP_FILE);
strcpy (&extdirs[strlen (LIBGCJ_ZIP_FILE)
- strlen ("libgcj-" DEFAULT_TARGET_VERSION ".jar")],