Make the code more secure
1.in ant_array.c :add array->ncurr--
2.sprintf ===> snprintf
3.strcat  ===> strncat
4.strcpy ===> strncpy