Which of the following is a buffer overflow countermeasure provided by an operating system more stringent memory access control automatic bounds checking Incorrect Automatic bounds checking of

Correct Answer:

more stringent memory access control

Analyzing the Answer:

Operating systems can implement more stringent memory access controls to mitigate buffer overflow vulnerabilities. This involves restricting how processes access memory, preventing them from writing beyond allocated buffer boundaries.

Analysis of other options:

A: automatic bounds checking: Incorrect. Bounds checking is typically implemented at the programming language level, not the operating system level. The operating system doesn’t inherently know the boundaries of each buffer in every program.
B: automatically weaving protection into a program: Incorrect. This is a compile-time or runtime code modification technique, not a feature directly provided by the operating system.
C: safer buffer handling through input validation: Incorrect. Input validation is a programming practice, not an operating system feature that directly prevents buffer overflows. While OS features might indirectly help (e.g., by providing secure libraries), it’s not a primary OS-level countermeasure.

Read more here: Source link