On Mon, 7 Sep 2026 14:42:56 GMT, Kevin Walls <[email protected]> wrote:

> An Attach API request of zero size will cause 
> RequestReader::read_request_data to read a byte before its buffer.
> 
> Better to not call read_request_data if we know there is zero to read.
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 1084d0db
Author:    Kevin Walls <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/1084d0db86acf3811662b50c2ff4c9a2c1d1202f
Stats:     7 lines in 1 file changed: 4 ins; 1 del; 2 mod

8391063: Attach API (v2) should check for zero-sized request

Reviewed-by: aivy, ysuenaga

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

PR: https://git.openjdk.org/jdk/pull/32738

Reply via email to