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

What is the purpose of federal antitrust laws? to raise revenue for government programs to preserve competition among business firms to protect domestic firms f
The Compromise of 1850 was proposed by: a. Daniel Webster b. Zachary Taylor c. Henry Clay d. John C. Calhoun
After the Civil War, which development limited economic opportunities for African Americans in the South? (1) creation of military districts (2) establishment o
Factoring quadratics 15x+25x^2
what steps must a historian take to evaluate historical evidence
y=x to the second power + 5x+1 Who can find the answer to this
Which expressions are equivalent to 0.5*m*n*4 2(m+n) 0.5m + 4n None of the above
What is the value of the digit 9 in the number 913,256?
what does being able to express numbers in equivalent forms allow you to do
simplify fraction 7 / 27