AGOS: Use strncpy() instead of strcpy(). CID 1003679, 1003681