Re: [SECURITY] DoS attack on backend possible (was: Re: - Mailing list pgsql-hackers

From Don Baccus
Subject Re: [SECURITY] DoS attack on backend possible (was: Re:
Date
Msg-id 3D57C5A4.4020001@pacifier.com
Whole thread Raw
In response to Re: [SECURITY] DoS attack on backend possible (was: Re:  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Gavin Sherry wrote:

> As to your other point -- that this bug in the data/time code actually
> *reflects* the quality and reliability of the database itself -- you've
> really gone too far. The best software has bugs.

For example, in the current version of Oracle 9i, if a client (say 
SQL*Plus) is running on a linux box and talking to Oracle running on a 
Solaris box, executes the following:

create table foo(i integer primary key, bar blob);

... then later does ...

update foo set bar=empty_blob() where i = <some key value>

The Oracle server on Solaris crashes.  *the whole thing* BANG! 
Shot-to-the-head-dead.  Not the user's client - the server.

This means that any user with the right to update a single table with a 
blob can crash Oracle at will.

What does this say about Oracle's overall reliability?

As Gavin says all software has bugs.  Most of PG's bugs are far less 
spectacular than the Oracle bug I mention here.

Overall I rate PG and Oracle as being about equivalent in terms of bugs.

-- 
Don Baccus
Portland, OR
http://donb.photo.net, http://birdnotes.net, http://openacs.org



pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Strange bahaviour
Next
From: Andrew Sullivan
Date:
Subject: Re: [COMMITTERS] pgsql-server/src backend/tcop/postgres.cbacke