Integrated: JDK-8262199: issue in jli args.c

Matthias Baesken mbaesken at openjdk.java.net
Fri Feb 26 12:25:45 UTC 2021


On Tue, 23 Feb 2021 13:58:03 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).

This pull request has now been integrated.

Changeset: d7efb4cc
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d7efb4cc
Stats:     25 lines in 1 file changed: 8 ins; 15 del; 2 mod

8262199: issue in jli args.c

Reviewed-by: clanger, alanb

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

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


More information about the core-libs-dev mailing list