On Wed, 17 May 2023 12:40:58 GMT, Volker Simonis <simo...@openjdk.org> wrote:
> Sorry, but I don't understand this argument. If we do a short read we will > work with corrupted ChildStuff and SpawnInfo > structures. This can in the extreme case execute arbitrary code (e.g. if > ChildStuff.argv is not fully read from the parent). You are > basically saying it is better to work on corrupted data rather than reporting > an error. No I am simply pointing out that this has changed more than just the issue with close. Any maybe a short-read does indicate data "corruption" and maybe it should be a fatal error. But I don't know exactly how this might manifest so perhaps there are benign short-reads that actually do happen. Regardless it might be better to split this part out and focus on the close issue here. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13956#issuecomment-1554073177