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

Bug #714: pg_dump segfaults when given an invalid command line option

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #714: pg_dump segfaults when given an invalid command line option
Date: 2002-07-19 00:27:12
Message-ID: 20020719002712.D3D42475897@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Menno Smits (menno(at)oxcoda(dot)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


Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2002-07-19 00:33:51
Subject: Re: Bug #714: pg_dump segfaults when given an invalid command
Previous:From: Mike ColemanDate: 2002-07-18 20:12:20
Subject: pg_ctl failure with older Bourne shells (use ${1:+"$@"})

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