. NUL terminate a string. Fixes a segmentation fault that shows up

in the jdk13 port build.  Brought to you by MALLOC_OPTIONS "A" and "J".
. Bump PORTREVISION.

Approved by:	portmgr (kris)
This commit is contained in:
Greg Lewis 2005-08-19 17:34:05 +00:00
parent 8f44d4a372
commit c8adfc87db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140935
2 changed files with 14 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= jbootstrap
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= java
MASTER_SITES= # http://www.eyesbeyond.com/freebsddom/java/jbootstrap.html

View file

@ -0,0 +1,13 @@
$FreeBSD$
--- scsl/InvokerGen.c.orig Fri Aug 19 11:04:45 2005
+++ scsl/InvokerGen.c Fri Aug 19 11:04:03 2005
@@ -475,7 +475,8 @@
", of sig='", si->sig, "'");
}
}
t[j] = 0;
+ sb[pos] = NUL;
si->returnType = t[--j];
si->binTerse = t;
si->terse = sb;