]> granicus.if.org Git - postgresql/commit
Add additional safety check against invalid backup label file
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 14 Mar 2012 20:41:50 +0000 (22:41 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 14 Mar 2012 20:41:50 +0000 (22:41 +0200)
commite684ab5e1ec900bb7b73fb6f8a655e0ec54b3720
tree15ecb39493d63e6128c78a50949d8a6f5532d79a
parentacfaa596ccd90e161bcc09bb00e755e65d9c068c
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
src/backend/access/transam/xlog.c