I came across lot of functions returning char pointers in one legacy application.
Some of them returning pointers to local character arrays. It seems to be causing crashes a
No that's is not safe. Just calling strcpy can modify the stack enough to cause problems later because the return address and parameters might over-write the array.