mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
. 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:
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
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= jbootstrap
|
PORTNAME= jbootstrap
|
||||||
PORTVERSION= 1.2
|
PORTVERSION= 1.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= java
|
CATEGORIES= java
|
||||||
MASTER_SITES= # http://www.eyesbeyond.com/freebsddom/java/jbootstrap.html
|
MASTER_SITES= # http://www.eyesbeyond.com/freebsddom/java/jbootstrap.html
|
||||||
|
|
||||||
|
|
13
java/jbootstrap/files/patch-scsl-InvokerGen.c
Normal file
13
java/jbootstrap/files/patch-scsl-InvokerGen.c
Normal 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;
|
Loading…
Add table
Reference in a new issue