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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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