Which of the following pseudocodes MOST likely prevents buffer overflows?
A. If input contains < or > then escape the character and execute the program with user input
B. If input is less than 100 characters, then prompt for input again
C. If input contains \ then remove \ and execute program with user input
D. If input is greater than 1000 characters then truncate input
Answer: D. If input is greater than 1000 characters then truncate input
You might also like to view...
__________ acts as a staging area for the processor.
a. cache memory b. RAM c. ROM d. the instruction register
Forms can display only a single record at a time
Indicate whether the statement is true or false
A table is added to a document from the ________ tab
Fill in the blank(s) with correct word
A(n) ________ query is an action query that adds new records to an existing table by adding data from another Access database or from a table in the same database
A) make table B) append C) add record D) merge