You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mchalupa
changed the title
Missed memory leak when a part of a pointer is overwritten
Missed memory leak when only a part of the pointer is overwritten
Oct 7, 2020
This code has a memory leak as the
a[1] = 20
overwrites the pointer to the malloced memory.The problem is that instrumentation does not mark this overwrite as important and it gets sliced away, see mchalupa/dg#345.
The text was updated successfully, but these errors were encountered: