Integrated: 8257973: UTIL_LOOKUP_PROGS should only find executable files

Magnus Ihse Bursie ihse at openjdk.java.net
Wed Dec 9 15:44:35 UTC 2020


On Wed, 9 Dec 2020 14:08:32 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> It turns out that UTIL_LOOKUP_PROGS does not verify that when it find a file in the PATH that matches the given tool name, it accept it straight away. Even if the file is a directory, or is not executable.

This pull request has now been integrated.

Changeset: 6c69eca3
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/6c69eca3
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8257973: UTIL_LOOKUP_PROGS should only find executable files

Reviewed-by: erikj

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

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



More information about the build-dev mailing list