What is a stack overflow? How to solve the stack overflow on the web page?

  

Some browsers pop up a stack overflow prompt window when browsing the web. This window needs to be manually clicked off. Why do you encounter a stack overflow? Because the length of the data exceeds the length of the buffer when the computer fills the buffer with data, a stack overflow prompt appears. Read below for a solution to the browser's prompt for stack overflow.

stack overflow means:

exceeds the capacity of the buffer itself is overflowed valid data overlaid on the data bits to the computer when the data in the buffer is filled, the ideal situation It is the program that checks the data length and does not allow input of characters that exceed the buffer length, but most programs assume that the data length always matches the allocated storage space, which creates a hidden danger for buffer overflow. The buffer used by the operating system is also known as “stack”. Between the various operational processes, the instruction will be temporarily stored in the "stack" and "stack" will also have a buffer overflow.

There are currently four basic ways to protect buffers from buffer overflow attacks and effects. They are: Write the correct code, non-executable buffer, array bounds check, program pointer integrity check.

Procedure:

1, press win + r open the Run window, enter cmd, as shown in FIG:

2, at the command prompt, Copy the following code into the window and press Enter to execute it as shown:
regsvr32 atl.dll regsvr32 shdocvw.dll regsvr32 urlmon.dll regsvr32 browseui.dll regsvr32 oleaut32.dll regsvr32 shell32.dll regsvr32 jscript.dll Regsvr32 vbscript.dll regsvr32 mshtmled.dll regsvr32 CLBCATQ.DLL regsvr32 cscui.dll regsvr32 MLANG.dll regsvr32 stobject.dll regsvr32 WINHTTP.dll regsvr32 msxml3.dll regsvr32 query.dll regsvr32 jscript9.dll regsvr32 hlink.dll

The above is the browser's solution to the stack overflow. If the stack overflow occurs too frequently, it may damage the pointer, and the user needs to process it as soon as possible.

Copyright © Windows knowledge All Rights Reserved