mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-18 11:53:17 +00:00
8361888: [GCC static analyzer] ProcessImpl_md.c Java_java_lang_ProcessImpl_forkAndExec error: use of uninitialized value '*(ChildStuff *)p.mode
Reviewed-by: rriggs, syan
This commit is contained in:
parent
fd2ee0844a
commit
b85440d085
@ -732,7 +732,7 @@ Java_java_lang_ProcessImpl_forkAndExec(JNIEnv *env,
|
||||
(fds[2] == -1 && pipe(err) < 0) ||
|
||||
(pipe(childenv) < 0) ||
|
||||
(pipe(fail) < 0)) {
|
||||
throwInternalIOException(env, errno, "Bad file descriptor", c->mode);
|
||||
throwInternalIOException(env, errno, "Bad file descriptor", mode);
|
||||
goto Catch;
|
||||
}
|
||||
c->fds[0] = fds[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user