79827453

Date: 2025-11-22 17:14:24
Score: 3
Natty:
Report link

Writing after the ret address slot is causing the segfault because you are writing the address of touch2 in the caller's frame. The address of touch2 should be pushed to the stack from inside the buffer so that it ends up at where address of buff[0] was i.e the ret address slot.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: orcodeep