438,532 views
1 vote
1 vote
An employee on the Internet-facing part of a company's website submits a 20-character phrase in a small textbox on a web form. The website returns a message back to the browser stating Error: Table 'advprofile' entry into column 'Inane' has exceeded number of allowed characters. Error saving database information. Of which of the following is this an example?

A. Resource exhaustion
B. Buffer overflow
C. Improperly configured account Improper error handing

User ColBeseder
by
2.9k points

1 Answer

19 votes
19 votes

Answer:

(B) Buffer Overflow

Step-by-step explanation:

The description in the question is an example of a Buffer Overflow. This is also called a Buffer Overrun.

As the question depicts, the employee input more characters than was required in the text box. The text box was programmed to allow a more limited number of characters; maybe 15, 12, 18, etc but not up to 20.

A buffer is a storage space that holds data temporarily while it's being transported to a new space. An overrun on the buffer will occur if or when the inputed data exceeds the storage capacity of the buffer.

This overrun can cause the program to crash or access errors to develop; like the errors displayed in the question.

User Vivek Dragon
by
3.1k points