BUG #1718: geqo_selection.c:linear()

Поиск
Список
Период
Сортировка
От Bug Finder
Тема BUG #1718: geqo_selection.c:linear()
Дата
Msg-id 20050614080741.42C59F0B0C@svr2.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #1718: geqo_selection.c:linear()
Список 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 по дате отправления: