On Wed, 10 Jun 2026 01:56:05 GMT, David Holmes <[email protected]> wrote:

>> src/hotspot/os/posix/attachListener_posix.cpp line 349:
>> 
>>> 347:   int ret;
>>> 348: 
>>> 349:   int n = os::snprintf(fn, UNIX_PATH_MAX, "%s/.java_pid%d",
>> 
>> UNIX_PATH_MAX or PATH_MAX?
>
> Not sure why this is using UNIX_PATH_MAX but pre-existing so ignore this too.

No I take that back. If the path prefix is now arbitrary then we could easily 
exceed UNIX_PATH_MAX.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31407#discussion_r3384975513

Reply via email to