BUG #1718: geqo_selection.c:linear() - Mailing list pgsql-bugs

From Bug Finder
Subject BUG #1718: geqo_selection.c:linear()
Date
Msg-id 20050614080741.42C59F0B0C@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #1718: geqo_selection.c:linear()
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1718
Logged by:          Bug Finder
Email address:      bug@zedware.org
PostgreSQL version: 8.0.3
Operating system:   Linux
Description:        geqo_selection.c:linear()
Details:

In geqo_selection.c, function linear() may
return a value equals to pool_size, and cause
geqo_selection() to visit invalid array member.

In linear(), assume bias is 2, and geqo_rand()
returns 1. Then index will equal to pool_size.

pgsql-bugs by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: BUG #1707: statistics collector starts with stats_start_collector
Next
From: "Kevin Grittner"
Date:
Subject: Re: BUG #1712: JDBC column precision for bigint is 0