Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Sat, 23 May 2026 18:54:00 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #4016: feat: harden protocol reader against desynced streams (#4015) In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 3293340347 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: 18ef66a5594bac7f828a01c0d59099226945504f X-GitHub-Issue: 4016 X-GitHub-Line: 171 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/core/PGStream.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/4016#discussion_r3293340347 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/core/PGStream.java:171) Nit: "Throws {@link IOException} when the caller read fewer or more body bytes" — "read" should be "has read" or restructure to "when fewer or more body bytes were read than the message envelope declared".