Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Freeing

Name: Anonymous 2008-12-29 1:26

Is there any real point in freeing memory these days? And I don't mean freeing memory for things that constantly grow and shrink in size. I mean freeing that one array that you malloc at the beginning of the program and you need it until the end of the program. What is the benefit of freeing it when it will be automatically freed by the operating system?

Name: Anonymous 2008-12-29 23:28

>>43-45
How the fuck is a program supposed to ``handle its own sensitive data''?  If an OS leaves memory readable by others, there is nothing the program can do to protect it.  The entire point of a multi-user operating system is to isolate privileges, including data access.  And yes, all data is sensitive unless it has been explicitly shared.  It is absolutely ridiculous to expect every program to know or care just how the user feels about a particular memory block the moment it is initialized.

Also, IHBT.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List