shellphish / how2heap

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

Typo on house of spirit... I think #91

Closed pentallelogram closed 5 years ago

pentallelogram commented 5 years ago

https://github.com/shellphish/how2heap/blob/81ab9204161055517992997a6b606f9b428e3251/glibc_2.25/house_of_spirit.c#L16

On this line I believe &fake_chunks[7] should be &fake_chunks[9] given that the next header is placed like so: fake_chunks[9] = 0x1234; // nextsize

pentallelogram commented 5 years ago

while I'm at it with the typo's this line: https://github.com/shellphish/how2heap/blob/81ab9204161055517992997a6b606f9b428e3251/glibc_2.26/tcache_poisoning.c#L29

2st --> 2nd

m1ghtym0 commented 5 years ago

Thanks!