


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



CMPSCI 377 Operating Systems Fall 2005
Lecturer: Emery Berger Scribe: Eric Hodge, Eric Patrick
Today:
Dangling Pointer Error: P = malloc() x=p
14-2 Lecture 14: November 10
Free(p) Z = malloc() z... x...
z may have overwritten x -you had a pointer to some space -but now you’ve freed it -and now it can be overwritten -you can still try to reference it without no guarantees
Buffer overflow
Some other errors...
What malloc() actually does:
mmap():
14-4 Lecture 14: November 10