When this causes a program to behave incorrectly , the situation is known as a hazard .

When this assumption is not validated by pipelining it causes a program to behave incorrectly , the situation is known as a hazard .
