Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7mJ1-0005aI-HO for pgsql-committers@arkaria.postgresql.org; Sun, 04 Jan 2015 14:37:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y7mJ0-0006rX-LX for pgsql-committers@arkaria.postgresql.org; Sun, 04 Jan 2015 14:37:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y7mIx-0006ln-B7 for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 14:37:19 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y7mIt-0008PD-Mt for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 14:37:18 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y7mIr-0004fK-BP for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 14:37:13 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.80) (envelope-from ) id 1Y7mIl-0007nH-Kp for pgsql-committers@postgresql.org; Sun, 04 Jan 2015 14:37:07 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Andres Freund Subject: pgsql: Fix off-by-one in pg_xlogdump's fuzzy_open_file(). Message-Id: Date: Sun, 04 Jan 2015 14:37:07 +0000 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Rml4IG9mZi1ieS1vbmUgaW4gcGdfeGxvZ2R1bXAncyBmdXp6eV9vcGVuX2Zp bGUoKS4KCkluIHRoZSB1bmxpa2VseSBjYXNlIG9mIHN0ZGluIChmZCAwKSBi ZWluZyBjbG9zZWQsIHRoZSBvZmYtYnktb25lCndvdWxkIGxlYWQgdG8gcGdf eGxvZ2R1bXAgZmFpbGluZyB0byBvcGVuIGZpbGVzLgoKU3BvdHRlZCBieSBD b3Zlcml0eS4KCkJhY2twYXRjaCB0byA5LjMgd2hlcmUgcGdfeGxvZ2R1bXAg d2FzIGludHJvZHVjZWQuCgpCcmFuY2gKLS0tLS0tCm1hc3RlcgoKRGV0YWls cwotLS0tLS0tCmh0dHA6Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0 ZGlmZi9kMWM1NzUyMzBkNDk5MjlmODJjNmQ5MWU5YjMwNzBhOWY0MDE4NzE4 CgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpjb250cmliL3BnX3hs b2dkdW1wL3BnX3hsb2dkdW1wLmMgfCAgIDEwICsrKysrLS0tLS0KMSBmaWxl IGNoYW5nZWQsIDUgaW5zZXJ0aW9ucygrKSwgNSBkZWxldGlvbnMoLSkKCgot LSAKU2VudCB2aWEgcGdzcWwtY29tbWl0dGVycyBtYWlsaW5nIGxpc3QgKHBn c3FsLWNvbW1pdHRlcnNAcG9zdGdyZXNxbC5vcmcpClRvIG1ha2UgY2hhbmdl cyB0byB5b3VyIHN1YnNjcmlwdGlvbjoKaHR0cDovL3d3dy5wb3N0Z3Jlc3Fs Lm9yZy9tYWlscHJlZi9wZ3NxbC1jb21taXR0ZXJzCg==