CS208 Introduction to Computer Systems Wednesday, 5 November 2025 + Buffer overflow? - How would you try to fix this vulnerability? - Application programmer - check memory bounds (our "Gets" is obviously dumb) - clean the user input before using it [this won't help if the problem is in the initial reading of the input] - - Programming languages where writing outside the bounds of an array is impossible (Java, Rust) - Put some recognizable data on the boundaries of arrays, and check for corruption - Don't let code on the stack get executed - Randomize the addresses at which the program lives *at runtime* + Remainder of the term - Processes C assignment (due Nov 11) - Small client/server C assignment (due Nov 14) - In-class labs on various topics - In-class exam (Monday, Nov 17) - Wrap-up, AMA, etc. (Wednesday, Nov 19) - No exam or project during finals week + Lab: processes + fork & exec