3 ms·
Does anyone have a link to a thorough reverse-engineering of the bug from someone decompiling/source-diving? I tried replicating it on High Sierra out of curio
by ollin 9y ago
Does anyone have a link to a thorough reverse-engineering of the bug from someone decompiling/source-diving?
I tried replicating it on High Sierra out of curiosity (single text file with the broken character, opened in TextEdit to cause a crash) and noticed that the crash doesn't happen in consistently the same way each time (I got 8 crashes in a calloc call in CoreText's OTL::CoverageBitmap::Reset, 4 crashes in a malloc in Foundation with no CoreText in the stack trace, plus 10 KERN_INVALID_ADDRESS errors from various places, as well as one time it opened successfully with no immediate problems). Seems like a memory corruption error somewhere earlier, but I'm not sure how to figure out where–I tried rooting around in CoreText with Hopper for a bit but didn't get very far.
- Manishearth 9y agohttp://www.cloudscan.me/2018/02/coretext-crash-osx-10133-lldb-voltron.html http://www.cloudscan.me/2018/02/coretext-crash-osx-10133-lld...