ERROR_STACK_BUFFER_OVERRUN 0x80070502
Error code 1282 · HRESULT 0x80070502
The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
What it means
ERROR_STACK_BUFFER_OVERRUN is a Windows error code (system error 1282, returned as HRESULT 0x80070502) reported by Windows. Its official message is: “The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.”
How to fix ERROR_STACK_BUFFER_OVERRUN
- Run Windows Memory Diagnostic (mdsched.exe) to exclude failing RAM
- Recent kernel memory faults usually trace to drivers — update graphics and chipset first
- Check the crash dump in C:\Windows\Minidump with WinDbg to identify the module
Related errors
Source: Microsoft WinError.h
Last updated: