Skip site navigation (1) Skip section navigation (2)

pgsql: Add additional safety check against invalid backup label file

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add additional safety check against invalid backup label file
Date: 2012-03-14 20:51:40
Message-ID: E1S7vAa-0007tq-9o@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Add additional safety check against invalid backup label file

It was already checking for invalid data after "BACKUP FROM", but
would possibly crash if "BACKUP FROM" was missing altogether.

found by Coverity

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e684ab5e1ec900bb7b73fb6f8a655e0ec54b3720

Modified Files
--------------
src/backend/access/transam/xlog.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2012-03-14 21:05:28
Subject: pgsql: Improve EncodeDateTime and EncodeTimeOnly APIs
Previous:From: Tom LaneDate: 2012-03-13 19:26:56
Subject: pgsql: Patch some corner-case bugs in pl/python.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group