BufferOverFlowExample

Consider the program below:

#include <stdio.h>
#include <string.h>

int main()
{
  char lstring[10];
  printf("Enter a long string: ");
  scanf("%s", lstring);
  printf("You entered: %s\n",lstring);
  return 0;
}

OffensiveSecurity/BufferOverFlowExample (last edited 2021-08-18 23:20:17 by scot)