RFR: 8361873: [GCC static analyzer] exec_md.c forkedChildProcess potential double 'close' of file descriptor '3' [v2]
Chris Plummer
cjplummer at openjdk.org
Tue Jul 29 19:46:03 UTC 2025
On Tue, 29 Jul 2025 06:23:20 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> No, I am talking about this:
>
> https://github.com/openjdk/jdk/blob/4669005123420d8dbe86740dd9bcbee04735bc4f/src/java.base/unix/native/libjava/childproc.c#L109
> where we close all file descriptors apart from the ones we need to communicate to the jspawnhelper.
>
> > In any case, I think this is beyond the scope of this PR. Maybe an RFE could be filed for it if you think it is worth doing.
>
> Sure thing
Ok. I filed [JDK-8364312](https://bugs.openjdk.org/browse/JDK-8364312)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26487#issuecomment-3133805555
More information about the serviceability-dev
mailing list