forgotten initalization of a variable
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2020-04-21T06:08:30Z
Lists: pgsql-hackers
Attachments
- 0001-Properly-initalize-a-variable.patch (text/x-patch)
Hello. The commit a7e8ece41c adds a new member restoreCommand to XLogPageReadPrivate. readOneRecord doesn't make use of it but forgets to set NULL. That can lead to illegal pointer access. regards. -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Fix single-record reads to use restore_command if available in pg_rewind
- cd123234404e 13.0 landed
-
Add -c/--restore-target-wal to pg_rewind
- a7e8ece41cf7 13.0 cited