BUG #16187: The usage of undefined value in parallel.c

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #16187: The usage of undefined value in parallel.c
Дата
Msg-id 16187-11eb1f173582b451@postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16187
Logged by:          Jian Zhang
Email address:      starbugs@qq.com
PostgreSQL version: 12.1
Operating system:   Linux
Description:

We checked the code in file “parallel.c” and there is one error occurring in
line 1606. This error is caused by the usage of variable with undefined
value. The code in this line is “FD_SET(pstate->parallelSlot[i].pipeRead,
&workerset);”. The pointer “pstate” is an input parameter of function
“getMessageFromWorker” and has never changed before line 1606. The program
should check the effectiveness of input parameter “pstate” to avoid this
error.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16186: The usage of undefined value in pgbench.c
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16188: The usage of NULL pointer in rege_dfa.c