What is the overflow of the buffer?

The buffer overflow occurs when the program attempts to write in the buffer and gets off its borders, resulting in information about writing a program in memory that potentially belongs to another program. This violates the integrity of the memory in the operating system, resulting in a serious mistake and a potential accident for the implementing program. The main risk of overflow of the buffer comes from two main elements. First, the information written outside the buffer is seemingly "lost", because the computer map - a list of memory locations - can not explain it. Second, the buffer overflow can accidentally rewrite the information stored in the memory for another program and effectively disrupt the implementation of another program. The most common use of the buffer is usually a video or audio playback where COM Compuer hints at another x second shots or sound in memory, ensuring that playback is not interrupted if something temporarily stands in the system. Buffer existsOnly within a specific, predetermined location in the computer memory, similarly to the country, it is only on the limit lines drawn on the map. Performances outside these virtual "lines" lead to problems not only for starting the program, but also for other programs in the system.

basically the program stepped out of the assigned jurisdiction and attacked the space of another work program. As soon as this happens, the information written outside the buffer will effectively fall from the computer map; In other words, the system no longer has any way to get it. Since the computer only "knows" the search for a buffer information within a specific leveling space assigned to memory, there has no way to find out where the overflowed information left.

In addition, the buffer overflow has the potential to disrupt other programs running on your computer. Imagine that storage space of memory on both sides inYetmorate memory has already been assigned to other running programs. Once the information in the buffer bleeds around its designed area, it rewrters and damages all information already stored in these parts of the memory. Therefore, the buffer overflow is a problem that can undermine the efficiency of the neighboring program and damage its own operation.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?