Download presentation
Presentation is loading. Please wait.
1
Stack buffer overflow
2
Stack frame layout
3
#include <string.h>
void foo (char *bar) { char c[12]; strcpy (c, bar); //no bound } int main (int argc, char **argv) foo(argv[1]);
4
#include <string.h>
void foo (char *bar) { char c[12]; strcpy (c, bar); //no bound } int main (int argc, char **argv) foo(argv[1]);
5
#include <string.h>
void foo (char *bar) { char c[12]; strcpy (c, bar); //no bound } int main (int argc, char **argv) foo(argv[1]);
6
Lab 3 Due next week Thursday, April 11th.
Stack buffer overflow problem, very similar to what we have described today. Demo.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.