Run-Time Check Failure #2 - Stack around the variable 'XXXX' was corrupted


Run-Time Check Failure #2 - Stack around the variable 'XXXX' was corrupted. 라는 에러 아는가?

 

이게 뭐시냐 하면...

 

10의 크기를 가지는 배열을 잡아놓고..

여기에 10보다 큰 데이터를 집어 넣으려고 할때...

또는..

1byte 크기의 변수를 잡고

여기에 4byte 크기의 값을 집어 넣으려고 할때...

 

감이 오는가?

 

디버깅 해보면..

엉뚱한 부분에서 걸린다..

'DevelopNow > errorLog' 카테고리의 다른 글

No error No warring!  (0) 2008.10.17
libcmtd.lib LNK2005 - 중복 선언 에러  (0) 2008.10.10
warning LNK4099  (0) 2008.10.10
warning C4996: deprecated...  (0) 2008.10.10
Visual Studio 2005 Warnning Function( deprecated )  (0) 2008.10.10

댓글

Designed by JB FACTORY