8308350: Increase buffer size for jspawnhelper arguments

Reviewed-by: rriggs
This commit is contained in:
Thomas Stuefe 2023-05-18 14:01:08 +00:00
parent a58e0ca9d2
commit 808dc1b047

View File

@ -487,7 +487,7 @@ static pid_t
spawnChild(JNIEnv *env, jobject process, ChildStuff *c, const char *helperpath) {
pid_t resultPid;
int i, offset, rval, bufsize, magic;
char *buf, buf1[16];
char *buf, buf1[(2 * 11) + 2]; // "%d:%d\0"
char *hlpargs[2];
SpawnInfo sp;