Next | Classic Unix Security Problems | 24 |
If b has local variables, it allocates them onto the same stack
For an array of 50 characters, it allocates 50 bytes onto the stack
If it writes more than 50 characters into the array, it may smash something else that was on the stack
Typically its own local variables
Possibly the return address that a left there
Next | Copyright © 2005 M. J. Dominus |