What is a hanging pointer?

The visiting indicator is a programming defect that occurs in object -oriented coding when the pointer object points to another object that no longer exists. In this case, the indicator is not a mouse pointer, but an object of the pointer to send the user to another object. This error creates fine errors that can get worse over time and also represents a security problem that qualified hackers can attack. When the programmer clears the object on which it appeared, but does not erase the indicator itself. The instance of the pointer is located somewhere in the program, usually in the menu and leads the user to another object. For example, if the user highlights part of the menu, another menu-scooping part is appeared. This allows the programmer to set several objects in one section without giving the section to Dalo.Ifest when the programmer clears the object to which it is shown. If the programmer also deletes the instance of the pointer, there will be no problem. If the programmer forgets and keeps the pointer in the coding, it creates a hanging indicator and represents problems with quality and safety.

In terms of quality, the hanging indicator looks careless and creates fine mistakes. This is because the program does not know how to act because it is said that he does something, but he cannot because the object is gone. This act creates a random code or worsens the code in small, fine ways that is difficult to detect. These errors can be as small to move the program a little slower, but in the end the program-and even computer-unfunctional.

Most programs with hanging indicators will initially work and can continue working for a month or even years before the errors become obvious. EV programs EN, which make calculations, which means that the hanging indicator is in the formula can still be able to perform simple calculations. This is one of the reasons why finding hanging indicators can be so difficult.

by 2007 with a hanging indicatorTheoretically, he only caused security problems. Watchfire® then created a program that showed how hanging indicators can be used, making a security risk of reality. Hackers are able to infiltrate the program through this error and can insert their own code into a wrong program.

IN OTHER LANGUAGES

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

How can we help? How can we help?