Thread

  1. [PATCH] Use mul_size for allocation products potentially to overflow

    Xing Guo <higuoxing@gmail.com> — 2026-04-09T05:13:59Z

    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