Re: Patch: incorrect array offset in backend replication tar header
Brian Weaver <cmdrclueless@gmail.com>
From: Brian Weaver <cmdrclueless@gmail.com>
To: pgsql-hackers@postgresql.org
Date: 2012-09-25T00:20:30Z
Lists: pgsql-hackers
Attachments
- pg-tar.patch (application/octet-stream) patch
Um.... I apologize for the third e-mail on the topic. It seems that my C coding is a bit rusty from years of neglect. No sooner had I hit the send button then I realized that trying to embed a null character in a string might not work, especially when it's followed by two consecutive zeros. Here is a safer fix which is more in line with the rest of the code in the file. I guess this is what I get for being cleaver. Patch is attached -- /* insert witty comment here */