BUG #8453: uninitialized memory access in pg_receivexlog and other bugs
В списке pgsql-bugs по дате отправления:
| От | andrew@tao11.riddles.org.uk |
|---|---|
| Тема | BUG #8453: uninitialized memory access in pg_receivexlog and other bugs |
| Дата | |
| Msg-id | E1VLB2N-0003XN-7k@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #8453: uninitialized memory access in pg_receivexlog
and other bugs
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 8453 Logged by: Andrew Gierth Email address: andrew@tao11.riddles.org.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.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера