mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #851] [CLOSED] fix: developer_tools/malloc_dbg.c read access violation
#1355
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/851
Author: @sebbeutler
Created: 8/25/2021
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
be1557efix: developer_tools/malloc_debug.c read access violation. see Issue #850📊 Changes
2 files changed (+31 additions, -65 deletions)
View changed files
📝
developer_tools/malloc_dbg.c(+6 -61)📝
developer_tools/test_malloc_dbg.c(+25 -4)📄 Description
Description of Change
Added a complementary test to test_malloc_dbg.c
Removed the functions inList and editInfo from malloc_dbg.c, as well as the check of inList in malloc_dbg() that would prevent ptrToReturn from being saved in the linked list.
References
Issue #850 : [BUG] read access violation when using developer_tools/malloc_dbg
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.