[OT] What kind of data is is returned by 'new' ?
[OT] What kind of data is is returned by 'new' ?
- Subject: [OT] What kind of data is is returned by 'new' ?
- From: Dirk Stegemann <email@hidden>
- Date: Wed, 6 Jul 2005 22:35:31 +0300
Hello all,
not sure which list is most appropriate, but this a general memory
access question, so I put it in here where many experienced users
lurk around... ;-]
If I recall correctly, Mac OS X provides a security feature to wipe
memory pages allocated by a process; is this true?
When I allocate a buffer using
{
char* buffer = new char [numberOfBytes];
}
then the buffer seems to contain random data.
Has this data advertantly been made "random" or is it some remaining
"valid" data leftover from previous processes which should be
considered an security issue?
Are there runtime / compile options to get "wiped" memory buffers by
a call to 'new'?
Thanks in advance for any (links to) information regarding this subject!
Regards,
Dirk Stegemann
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden