ports/java/jbootstrap/files/patch-scsl-InvokerGen.c
Greg Lewis c8adfc87db . 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)
2005-08-19 17:34:05 +00:00

13 lines
326 B
C

$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;