CRT detected that the application wrote to memory after end of heap buffer
多是中間對其進行了一些操作,在程序結束處,釋放內存的時候,引起錯誤:
HEAP CORRUPTION DETECTED:after Normal block(#***) at 0x****.CRT detected that application wrote memory after end of heap buffer.
錯誤原因:
以對內在操作的過程中,所寫的地址超出了,所分配內在的邊界
memcpy的時候, copy的大小超出了目標數組的大小