header bg

Scan QR code or get instant email to install app

Question:

When a multithreaded application does not properly handle various threads accessing a common value, and one thread can change the data while another thread is relying on it, which of the following flaws is this?

A Time of check/time of use.
explanation

If access is not handled properly, a time of check/time of use condition can exist where the memory is checked, changed, then used. Memory leaks occur when memory is allocated but not deallocated. A buffer overflow is when more data is put into a variable than it can hold. An integer overflow occurs when an attempt is made to put an integer that is too large into a variable, such as trying to put a 64-bit integer into a 32-bit variable.

Related Information

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*