dbTalk Databases Forums  

[BUGS] BUG #1848: Segfault with pg_dump when database name omitted

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1848: Segfault with pg_dump when database name omitted in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric Boutin
 
Posts: n/a

Default [BUGS] BUG #1848: Segfault with pg_dump when database name omitted - 08-25-2005 , 10:53 PM







The following bug has been logged online:

Bug reference: 1848
Logged by: Eric Boutin
Email address: boutiner (AT) gmail (DOT) com
PostgreSQL version: 8
Operating system: Solaris 10 amd64
Description: Segfault with pg_dump when database name omitted
Details:

Short example that tells it all :
[eric@imelda ~]$ pg_dump -U appserv -t tbl_dossiers -s
pg_dump: [archiver (db)] connection to database "Segmentation Fault (core
dumped)
[eric@imelda ~]$

It's not a major error in itself, but a segfault is never a good thing and
could potentially lead to buffer overflow/code execution

Fix : don't forget to append the database name

That's about it
Thanks for your good application

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote
  #2  
Old   
Michael Fuhr
 
Posts: n/a

Default Re: [BUGS] BUG #1848: Segfault with pg_dump when database name omitted - 08-25-2005 , 11:33 PM






On Thu, Aug 25, 2005 at 07:41:59PM +0100, Eric Boutin wrote:
Quote:
[eric@imelda ~]$ pg_dump -U appserv -t tbl_dossiers -s
pg_dump: [archiver (db)] connection to database "Segmentation Fault (core
dumped)
This might already be fixed in CVS:

http://archives.postgresql.org/pgsql...7/msg00551.php
http://archives.postgresql.org/pgsql...7/msg00501.php

--
Michael Fuhr

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.