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

In the famous case involving abortion what did the supreme court upheld in roe vs wade
Thomas Nast did not create the image of Uncle Sam
What is the maximum number of electrons possible in a set of 5f orbitals?
are 5p and 3p like terms
What do historians study? When does the study of history begin?
How did inequalities in land ownership contribute to racial tensions during Reconstruction?
The cheap foreign labor argument for protectionism refers to ________.
Given quadrilateral jklm with diagonals that bisect the vertices, what kind of quadrilateral is jklm? rhombus parallelogram trapezoid generic quadrilateral (no
The red blood cell liposomes are more hypertonic relative to water than the frog egg liposomes. The red blood cell liposomes are more hypertonic relative to wat
What is the surface area to volume ratio of this cube ( 5cm on all sides)