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

A two-word phrase in a word problem that is a key word for subtraction
Three challenges faced by the local people in Rio
What is the significant figure of 378.093
Which of the following trigonometric functions, restricted to 0 < x < π, have values greater than 1? a.) f(x) = sin x b.) f(x) = cos x c.) f(x) = cot x d.
Write an expression for the most apparent nth term of the sequence (Assume that n begins with 1) 1,4,7,10,13
What is the radius of a sphere with the surface area of 16pi
In what ways are herbivores and carnivores alike? A) they both use photosynthesis to make their own food B) they both obtain energy by consuming other organism
Loess helps to form very fertile soil. true or false.
How do I do this? Thanks!
What were the arguments for and against ratification in the constitution? Hey, I just wanted to know what the arguments about the ratification of the constitut