BUG #1189: unbounded string copy in postmaster - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1189: unbounded string copy in postmaster
Date
Msg-id 20040707171523.9D8B5CF4D25@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1189: unbounded string copy in postmaster  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1189
Logged by:          George Gal

Email address:      ggal@vsecurity.com

PostgreSQL version: 7.4

Operating system:   FreeBSD 5.2 (Current)

Description:        unbounded string copy in postmaster

Details:

Looks like the -o command line option doesn't perform any bounds checking on
the option before copying to the ExtraOptions[1024] char array. [line 529 of
postmaster.c]

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: BUG #1188: evaluation order of select seems to be wrong
Next
From: David Newall
Date:
Subject: Improper processing of random values in sub-queries