Closed GoogleCodeExporter closed 9 years ago
load_buffer() does not hold to the pointer you're passing it - it copies the
buffer contents to a newly-allocated buffer. The buffer also does not need to
be null-terminated (although it does not hurt, of course). What you're seeing
here is probably something else.
Please, provide:
1. Complete usage code - with calls to free, etc.
2. Since you seem to be setting custom allocation/deallocation functions,
please provide code for them as well if possible.
3. The details about memory corruption - i.e. how you're detecting it (heap
assertion/debug check?) and the callstack for when it happens.
Original comment by arseny.k...@gmail.com
on 9 May 2012 at 4:03
Dear Sirs,
I'll try to provide some code reproducing the error as a synthesis of my
project that is too wide to be sent completelly (one executable, 3
libraries, some dll) and send it to you to solve the problem. I suppose
you're right, maybe I'm facing something else (ad I think I already find
what, after I wrote to you...)
Thanks anyway.
Original comment by roberto....@gmail.com
on 9 May 2012 at 4:38
Closing for lack of activity. Feel free to comment here if new information is
available, I'll reopen the issue then.
Original comment by arseny.k...@gmail.com
on 6 Jul 2012 at 11:22
Original issue reported on code.google.com by
roberto....@gmail.com
on 9 May 2012 at 3:54