Unix Technical Forum

BUG #1848: Segfault with pg_dump when database name omitted

This is a discussion on BUG #1848: Segfault with pg_dump when database name omitted within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 1848 Logged by: Eric Boutin Email address: boutiner@gmail.com PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:09 AM
Eric Boutin
 
Posts: n/a
Default BUG #1848: Segfault with pg_dump when database name omitted


The following bug has been logged online:

Bug reference: 1848
Logged by: Eric Boutin
Email address: boutiner@gmail.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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 09:09 AM
Michael Fuhr
 
Posts: n/a
Default Re: BUG #1848: Segfault with pg_dump when database name omitted

On Thu, Aug 25, 2005 at 07:41:59PM +0100, Eric Boutin wrote:
>
> [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@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com