answersLogoWhite

0

Examples of software bugs.

1. Off by one. For instance, If you use an 8-bit register or area of memory, you can only have a range of 0 to 255. However, suppose your code is off by one in an operation. One possible outcome is that the program will crash with an overflow error.

2. Using the wrong Boolean or numeric operator. You might use "less than" when you mean "less than or equal." Or you may interchange AND and OR. So the logic does not work as expected due to using the wrong word or symbol. You might be trying to trap errors and instead, you cause errors.

3. Access after free. If you release a block of memory a program is using, you are not supposed to keep using it. Some other code could be using it. If you read after releasing the block, the data cannot be trusted, since something might have modified it. If you write after releasing the block, you could be corrupting what is used elsewhere.

4. Buffer overrun. That is when a memory operation writes more data to a memory location than declared, and puts data past just the location you are modifying. So it ends up corrupting other data or even the program itself, another program, or the operating system. That will certainly lock up the computer with a blue screen.

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

Is Software expected to contain bugs?

Software goes through rigorous beta testing to prevent serious bugs. Since you cant duplicate what everyone is going to do, the developers obviously expect some bugs.


What are jungle invertibrates?

Some types of bugs.


What is software crashing?

When a software encounters some bugs or errors due to some wrong use of the application and also if a PC is having some virus which may interrupt software function is known as software crashing.


What is the best talk and type software?

Dragon NaturallySpeaking 9 PreferredThere are several types of software. Some of the software types are editing software,graphics software, and language software.


What some decomposes?

Mushrooms, worms, and some types of bugs are decomposers also Bactria.


What are some decomposes?

Mushrooms, worms, and some types of bugs are decomposers also Bactria.


Do you know of any bugs that have blood when squished?

Yes, some bugs, such as certain types of beetles and bed bugs, have blood-like fluids that are released when they are squished.


Are potato bugs the same thing as a pill bug?

They can be. Some types of woodlouse are known as pill bugs or potato bugs but there are also bugs that actually attack potato crops known as potato beetles or potato bugs. See the Related Links for more information on both types of insects.


Are the people that are working on the bugs for wolfquest having problems with the bugs?

Any software package contains certain truths. The more complex the software is the more likely there will be some undocumented features (bugs). Experience says that as soon as the current crop is removed then the upgrade for the program will be available


How can you remove software bugs from a laptop?

One can remove software bugs from a laptop by uninstalling or removing if it's not being used. Many options are available online with free software to remove bugs such as: AVG Anti-Spyware.


What kind of bugs with tails can be found in your garden?

In your garden, you may find bugs with tails such as earwigs, silverfish, and some types of beetles.


What are software bugs?

Softwear bugs are mainly just another name for a viris