| From: | Brian Weaver <cmdrclueless(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Patch: incorrect array offset in backend replication tar header |
| Date: | 2012-09-25 00:20:30 |
| Message-ID: | CAAhXZGtKS5FDJwXX7vMADud8HrLUZstVkAo646nLfRTgomSz5A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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 */
| Attachment | Content-Type | Size |
|---|---|---|
| pg-tar.patch | application/octet-stream | 857 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rural Hunter | 2012-09-25 00:41:19 | Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed |
| Previous Message | Brian Weaver | 2012-09-25 00:13:30 | Re: Patch: incorrect array offset in backend replication tar header |