ProcDump-for-Linux icon indicating copy to clipboard operation
ProcDump-for-Linux copied to clipboard

-restrack calloc and reallocarray sizes are incorrect

Open MarioHewardt opened this issue 1 year ago • 0 comments

Expected behavior

For calloc and reallocarray the allocation size should be nmemb*size

Actual behavior

Currently the size is size

Steps to reproduce the behavior

  1. Run procdump with -restrack against a process that uses calloc

The resulting leak track report only reports size rather than nmemb*size

System information (e.g., distro, kernel version, etc.)

All

MarioHewardt avatar May 03 '24 22:05 MarioHewardt