[PATCH] Use mul_size for allocation products potentially to overflow

Поиск
Список
Период
Сортировка
Искать

[PATCH] Use mul_size for allocation products potentially to overflow

От:
Xing Guo <higuoxing@gmail.com>
Дата:
Вложения:
Hi hackers,

I spotted several call sites multiplying runtime variables in palloc
and they can potentially lead
to overflow. I fixed them with mul_size() in backend codes and
pg_mul_size_overflow() in frontend codes.

Best Regards,
Xing
FAQ