ExamGecko
Home Home / ISC / CISSP
Question list
Search
Search

Question 824 - CISSP discussion

Report
Export

Which of the following techniques BEST prevents buffer overflows?

A.
Boundary and perimeter offset
Answers
A.
Boundary and perimeter offset
B.
Character set encoding
Answers
B.
Character set encoding
C.
Code auditing
Answers
C.
Code auditing
D.
Variant type and bit length
Answers
D.
Variant type and bit length
Suggested answer: B

Explanation:

Some products installed on systems can also watch for input values that might result in buffer overflows, but the best countermeasure is proper programming. This means use bounds checking. If an input value is only sup-posed to be nine characters, then the application should only accept nine characters and no more. Some languages are more susceptible to buffer overflows than others, so programmers should understand these issues, use the right languages for the right purposes, and carry out code review to identify buffer overflow vulnerabilities.

asked 18/09/2024
DAVIDE MCGARR
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first