ghopk8912 ghopk8912
  • 22-01-2021
  • Computers and Technology
contestada

An alternative design for a canary mechanism place the NULL value just below the return address. What is the rationale for this design decision

Respuesta :

IfeanyiEze8899 IfeanyiEze8899
  • 23-01-2021

Answer:

This is to prevent attacks using the strcpy() and other methods that would return while copying a null character.

Explanation:

Canary is a mechanism used to monitor and prevent buffer overflow. The alternative canary design that places a null value just before the return address is called the terminator canary.

Though the mechanism prevents string attacks, the drawback of the technique is that the value of the canary is known which makes it easy for attackers to overwrite the canary.

Answer Link

Otras preguntas

How did its first pharaoh unify Egypt
How do I solve this problem 7x<14 and 1-x<4
If something in a store costs $45, and the markup is 35%, what is the selling price?
A rectangle is 5 units long. The rectangle is also 3 units wide. What is its perimeter?
If something in a store costs $45, and the markup is 35%, what is the selling price?
How did Islam and the beliefs of indigenous societies fuse among African people?
If something in a store costs $45, and the markup is 35%, what is the selling price?
$10 + ($6-n) if n =$3 What is the final product Of this mathematical question?
How did its first pharaoh unify Egypt
Sara is putting away a pile of 36crayons she can pack them in boxes of10crayons or as single crayons .what are the different ways Sara can pack the crayons?