-
Notifications
You must be signed in to change notification settings - Fork 1.2k
glibc 2.41 will break fastbin examples #200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It is good to know that the examples will break in the next release. Thank you so much for that. == |
just a note for https://github.com/shellphish/how2heap/blob/master/glibc_2.35/house_of_spirit.c i tested it under glibc_2.41 and it will work provided that single calloc at the end is changed to 8 mallocs ( as suggested by the comment ) not sure if you want to make a 2.41 version of house_of_spirit that ends in 8 mallocs or not.. but if you do it works :) btw if you want me to make a pr for that ( if it makes sense ) then i can do so just lmk |
Please do so would be very helpful. |
|
Uh oh!
There was an error while loading. Please reload this page.
ik the repo is following the ubuntu's glibc releases, however i just wanted to give a heads-up
this patch adds tcache support to calloc, so it's no longer possible to use calloc to get into fastbin, author also explains this:
so the fastbin examples that use the following technique to get into the fastbin will no longer work:
as
a
,b
andc
will be allocated from the tcacheofc it's still possible to get into fastbin, for example i tried fixing fastbin_dup.c:
but from an exploitation standpoint it's significantly less viable now
The text was updated successfully, but these errors were encountered: