DragonFly bugs List (threaded) for 2004-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
RE: cu coredumps
> That is actually not strictly true. Some malloc implementations re-use
> the freed memory that was previously assigned to the user for pointers
> for it's own use. Hence, the next time you use the memory it go boom.
> (Well, ok you did say that the user data may not still be accessible,
> I'm just making it clear. ;-) )
Thanks for the lesson. I've said before that I'm not as experienced in UNIX
internals as the rest of us. My basic point (which I should have spelled
out better) was that you don't know the state of memory location, so don't
use it.
Adrian
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]