On Thu, 4 Mar 2021 18:27:48 GMT, Kevin Walls <kev...@openjdk.org> wrote:

> Hi,
> This is a pull request for 8259577, which points out that 
> Java_sun_tools_attach_VirtualMachineImpl_getTempDir
> caches a local variable from a previous call, so could return garbage.
> However as noted in the bug, we have been safe so far because this method is 
> only called once, so the caching is not required.
> Thanks.

This pull request has now been integrated.

Changeset: 51cca57c
Author:    Kevin Walls <kev...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/51cca57c
Stats:     11 lines in 1 file changed: 0 ins; 3 del; 8 mod

8259577: Dangling reference to temp_path in 
Java_sun_tools_attach_VirtualMachineImpl_getTempDir

Reviewed-by: cjplummer, lmesnik

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

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

Reply via email to