Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Double free on tlv encryption #140
I can only reproduce this on arm-iphone-darwin, but it seems valid:
I added the following printf calls:
I'm a bit stuck because removing the calls to free either gives me a different crash (access violation) or it gets stuck (without crashing) after processing method: 'core_negotiate_tlv_encryption'.
It appears there is some kind of heisenbug/schroedenbug/race condition occurring.
referenced this issue
Oct 15, 2018
It seems even after disabling TLV encryption (in the same way it's disabled for MINGW), the double free is fixed but the session still gets stuck:
The only thing that works so far is reverting https://github.com/rapid7/mettle/pull/136/files :(