COMPUTER SOFTWARE
SYSTEM SOFTWARE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Segmentation:
|
Splits processes into variable sized pieces
|
|
Splits processes into set sized pieces
|
|
Keeps processes together in RAM
|
|
Places processes wherever there is space in RAM
|
|
Can cause stack overflow
|
Explanation:
Detailed explanation-1: -A guaranteed segfault would be a completely valid and safe way to handle a buffer overflow. But segfaults only happen when your program tries to access memory it does not own. It is improbable that an overflowing buffer is straight at a page boundary, doubly so if the buffer is allocated on the stack.
Detailed explanation-2: -A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core . Segfaults are caused by a program trying to read or write an illegal memory location.
There is 1 question to complete.