Bug #714: pg_dump segfaults when given an invalid command line option - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #714: pg_dump segfaults when given an invalid command line option
Date
Msg-id 20020719002712.D3D42475897@postgresql.org
Whole thread Raw
Responses Re: Bug #714: pg_dump segfaults when given an invalid command
List pgsql-bugs
Menno Smits (menno@oxcoda.com) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
pg_dump segfaults when given an invalid command line option

Long Description
pg_dump crashes with a segmentation fault and dumps core when given an invalid command line option.

Example:
$ pg_dump --someoptionthatdoesntexist somedb
Segmentation fault (core dumped)

A core file is left behind. 

Version information:
Postgresql version 7.2.1 on a Redhat 6.2 based system.
Postgresql installed from RPMS built from the official SRPMS.
(ie. rpm --rebuild postgresql-7.2.1-2PGDG.src.rpm)

Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Tony Griffiths
Date:
Subject: Bug found in psql interface
Next
From: Bruce Momjian
Date:
Subject: Re: Bug #714: pg_dump segfaults when given an invalid command