stack smahing

Apr 15, 2009 at 5:30am
does anyone know a way to stop stack smashing??

my program does what its spose to do in terms of finding things but once it finds something thats not in the first record it will stack smash and terminate when i want to have it continously running until ctrl c
Apr 17, 2009 at 12:06am
I've never heard of stack smashing. It sounds kinda fun. Anyway, post some code demonstrating the problem so that we know what you're talking about.
Apr 17, 2009 at 12:13am
Apr 17, 2009 at 1:20am
Stack-smashing refers to a specific kind of exploit where an unchecked buffer overflow is taken advantage of to force the program to execute outside code. The actual programming error is called buffer overflow.
The only way to prevent this kind of errors in C/++ is with good coding techniques.
Last edited on Apr 17, 2009 at 1:31am
Topic archived. No new replies allowed.