Re: sendFileWithContent() does not advance the source pointer
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Antonin Houska <ah@cybertec.at>, Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2022-12-08T21:53:18Z
Lists: pgsql-hackers
Hi, On 2022-12-08 20:44:05 +0100, Antonin Houska wrote: > When checking something else in the base backup code, I've noticed that > sendFileWithContent() does not advance the 'content' pointer. Oof. Luckily it looks like that is a relatively recent issue, introduced in bef47ff85df, which is only in 15. Greetings, Andres Freund
Commits
-
Fix failure to advance content pointer in sendFileWithContent.
- 8b5ba2f3f40a 15.2 landed
- 45f5c81ad2bc 16.0 landed