RFR: JDK-8262199: issue in jli args.c [v4]

Alan Bateman alanb at openjdk.java.net
Thu Feb 25 17:00:40 UTC 2021


On Thu, 25 Feb 2021 16:44:00 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> Sonar reports a finding in args.c, where a file check is done .
>> Stat performs a check on file, and later fopen is called on the file .
>> 
>> The coding could be slightly rewritten so that the potential issue is removed (however I do not think that it is such a big issue).
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Simplify coding

Thanks for the updates, the latest looks clean to me.

-------------

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2692


More information about the core-libs-dev mailing list