Differences between revisions 1 and 2
Revision 1 as of 2013-10-17 19:09:34
Size: 271
Editor: scot
Comment:
Revision 2 as of 2021-08-18 23:20:17
Size: 343
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from AdvancedNetworkSecurity/BufferOverFlowExample

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)