temp[i + 1] = 1; //검증코드용


temp[LEN] = 1;


#define LEN     99999

#define LEN     99999+1

#define LEN     99999+2

#define LEN     99999+3


이런식으로 길이를 바꺼서도 테스트 해봄


char *temp = (char*)malloc(STRLEN);

char temp[STRLEN];


이 두가지도 해보고 뭐 더써봐야 알겠지만 아직은 문제없네연