mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8308350: Increase buffer size for jspawnhelper arguments
Reviewed-by: rriggs
This commit is contained in:
parent
a58e0ca9d2
commit
808dc1b047
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ static pid_t
|
||||||
spawnChild(JNIEnv *env, jobject process, ChildStuff *c, const char *helperpath) {
|
spawnChild(JNIEnv *env, jobject process, ChildStuff *c, const char *helperpath) {
|
||||||
pid_t resultPid;
|
pid_t resultPid;
|
||||||
int i, offset, rval, bufsize, magic;
|
int i, offset, rval, bufsize, magic;
|
||||||
char *buf, buf1[16];
|
char *buf, buf1[(2 * 11) + 2]; // "%d:%d\0"
|
||||||
char *hlpargs[2];
|
char *hlpargs[2];
|
||||||
SpawnInfo sp;
|
SpawnInfo sp;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue