malloc error when trying to assign the returned pointer to a struct field
rempas
rempas at tutanota.com
Sat Sep 9 08:23:54 UTC 2023
On Friday, 8 September 2023 at 19:14:47 UTC, H. S. Teoh wrote:
>
> My guess is that you have a double-free somewhere, or there's a
> buffer overrun. Or maybe some bad interaction with the GC, e.g.
> if you tried to free a pointer from the GC heap. (Note that
> this may not immediately show up; free() could've assumed that
> everything was OK when it has in fact messed up its internal
> data structures; the problem would only show up later on in
> code that's actually unrelated to the real problem.)
>
Wait! I did searched on the web! I cannot find anything about a
"buffer overrun"! I only find about "buffer overflow".
More information about the Digitalmars-d-learn
mailing list