*** stack smashing detected ***: ./mail terminated
What is this error all about? Where do I go wrong?
*** 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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
sorry... another dumb problem by meCode:char a[100]; char b[50]; strcpy(b,a);