On Mon, Aug 25, 2025 at 10:36:43PM +0530, I Viswanath wrote:
As per Documentation/process/deprecated.rst, dynamic size calculations should not be performed in memory allocator arguments due to possible overflows.
Replaced malloc with calloc to avoid open-ended arithmetic and prevent possible overflows.
Signed-off-by: I Viswanath viswanathiyyappan@gmail.com
LGTM.
Reviewed-by: Vishal Moola (Oracle) vishal.moola@gmail.com