*** stack smashing detected ***: ./mail terminated
What is this error all about? Where do I go wrong?
Printable View
*** stack smashing detected ***: ./mail terminated
What is this error all about? Where do I go wrong?
There's a bug in your program, which is overwriting part of the stack.
Fix the bug.
sorry... another dumb problem by me :)Code:char a[100];
char b[50];
strcpy(b,a);