본문 바로가기

Coding/오류

HEAP CORRUPTION DETECTED 오류

HEAP CORRUPTION DETECTED

: after normal block

CRT detected that the application wrote

to memory after end of heap buffer

 

 

HEAP CORRUPTION DETECTED

 

new 등으로 동적할당을 받은 경우에

할당된 메모리를 초과하는 인덱스에 접근하려고 하는 경우

다음과 같은 오류가 발생한다.