shellphish / how2heap

A repository for learning various heap exploitation techniques.
MIT License
7.12k stars 1.13k forks source link

stack_buffer_2 size must change from glibc 2.27 onwards #156

Closed Ch0pin closed 2 years ago

Ch0pin commented 2 years ago

stack_buffer_2 gets out of range here:

stack_buffer_2[3] = (intptr_t *)fake_freelist[0];
Kyle-Kyle commented 2 years ago

Ooops. A vulnerability in tutorials on how to exploit vulnerabilities. Classic. Nice catch!

Ch0pin commented 2 years ago

Tutorial and exercise all in one :)

thanks @Kyle-Kyle