Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-restrack calloc and reallocarray sizes are incorrect #245

Open
MarioHewardt opened this issue May 3, 2024 · 0 comments
Open

-restrack calloc and reallocarray sizes are incorrect #245

MarioHewardt opened this issue May 3, 2024 · 0 comments
Assignees
Labels

Comments

@MarioHewardt
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant