AioCtl Shared Memory size fix

Поиск
Список
Период
Сортировка
От Madhukar .
Тема AioCtl Shared Memory size fix
Дата
Msg-id CAKi+wrbC2dTzh_vKJoAZXV5wqTbhY0n4wRNpCjJ=e36aoo0kFw@mail.gmail.com
обсуждение исходный текст
Ответы Re: AioCtl Shared Memory size fix
Список pgsql-hackers
Hi Folks,

While reviewing AIO code, we found an issue with AioCtlShmemSize function. The function was not accounting for io_handles which is used post shared memory alloc in AioShmemInit. Please find a patch to account for io_handles member of PgAioCtl.

The patch uses sizeof(PgAioCtl) instead of offsetof(PgAioCtl, io_handles) in AioCtlShmemSize.

Thanks,
Madhukar
Вложения

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