From: | andrew(at)tao11(dot)riddles(dot)org(dot)uk |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #8453: uninitialized memory access in pg_receivexlog and other bugs |
Date: | 2013-09-15 12:02:47 |
Message-ID: | E1VLB2N-0003XN-7k@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 8453
Logged by: Andrew Gierth
Email address: andrew(at)tao11(dot)riddles(dot)org(dot)uk
PostgreSQL version: 9.3.0
Operating system: any
Description:
The first snprintf in writeTimeLineHistoryFile in receivelog.c accesses
uninitialized data in the "path" variable, thus creating the .tmp file in a
random place (usually the current dir, leading to unexpected EXDEV errors on
the rename).
Also, receivexlog is ignoring .partial and .history files when determining
which timeline to start streaming from, which means that if there are two
timeline changes that are not separated by a WAL segment switch, it will
fail to operate due to attempting to start from a too-old timeline (for
which xlogs are not available on the server).
Found from my analysis of a report from irc.
From | Date | Subject | |
---|---|---|---|
Next Message | prakash_panda | 2013-09-15 17:54:06 | BUG #8454: Process returned exit 0 message is showing while taking backup |
Previous Message | kachwahed | 2013-09-14 21:15:43 | BUG #8452: COPY command pgadmin |