A `curl https://zhovner.com/tmp/killwebkit.html` in iTerm2 crashes as well.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libvDSP.dylib 0x00007fff9080ead6 0x7fff907f2000 + 117462
1 com.apple.CoreText 0x00007fff8892cd5c TRun::TRun(TRun const&, CFRange, TRun::SubrangingStyle) + 850
2 com.apple.CoreText 0x00007fff8892c9ee CTGlyphRun::CloneRange(CTRun const*, CFRange, TRun::SubrangingStyle) + 142
3 com.apple.CoreText 0x00007fff8893b764 TLine::SetLevelRange(CFRange, unsigned char, bool) + 162
⋮
8 com.googlecode.iterm2 0x000000010003ce63 -[PTYTextView(Private) drawRun:ctx:initialPoint:] + 99
9 com.googlecode.iterm2 0x000000010003d498 -[PTYTextView(Private) _drawRuns:runs:] + 344
⋮
41 com.googlecode.iterm2 0x0000000100001bd4 start + 52So that means anywhere the string could appear, the application that has CoreText render the string crashes? Makes me wonder if it'd work by just broadcasting the string as an SSID and wait for someone to look up available networks, or sending text files to bluetooth devices with an Apple mac address. That would be cool, on a bus, in a crowded city, during rush hour.
on iOS:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x3a315e30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a315fd0 mach_msg + 48
2 CoreFoundation 0x3210c2b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x3210afd6 __CFRunLoopRun + 814
4 CoreFoundation 0x3207e238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3207e0c4 CFRunLoopRunInMode + 100
6 GraphicsServices 0x35c5d336 GSEventRunModal + 70
7 UIKit 0x33f9a2b4 UIApplicationMain + 1116
8 MobileSafari 0x000ff36e 0xf2000 + 54126
9 libdyld.dylib 0x3a25fb1c start + 0
... Thread 2 name: WebThread
Thread 2 Crashed:
0 WebCore 0x382fe95a WebCore::ComplexTextController::adjustGlyphsAndAdvances() + 522
1 WebCore 0x382fb94e WebCore::ComplexTextController::ComplexTextController(WebCore::Font const*, WebCore::TextRun const&, bool, WTF::HashSet<WebCore::SimpleFontData const*, WTF::PtrHash<WebCore::SimpleFontData const*>, WTF::HashTraits<WebCore::SimpleFontData const*> >*, bool) + 318
2 WebCore 0x382fb806 WebCore::ComplexTextController::ComplexTextController(WebCore::Font const*, WebCore::TextRun const&, bool, WTF::HashSet<WebCore::SimpleFontData const*, WTF::PtrHash<WebCore::SimpleFontData const*>, WTF::HashTraits<WebCore::SimpleFontData const*> >*, bool) + 18
3 WebCore 0x382ff990 WebCore::Font::getGlyphsAndAdvancesForComplexText(WebCore::TextRun const&, int, int, WebCore::GlyphBuffer&, WebCore::Font::ForTextEmphasisOrNot) const + 56
4 WebCore 0x382ff862 WebCore::Font::drawComplexText(WebCore::GraphicsContext*, WebCore::TextRun const&, WebCore::FloatPoint const&, int, int) const + 150
5 WebCore 0x3808
PS: I love the C++ namespace 'WTF.'EDIT: complete dump https://gist.github.com/6374524
I believe that namespace has diagnostic functions that help you answer the question "What's This Function?".
So stack trace helpers, and the like.
UPDATE: It does kill Chrome 31 (individual tab) and Safari 6.0.5 (the whole browser!).
I also believe it's been fixed in iOS7 because they did a lot of changes to the text rendering libraries.
Put the exploit text into the SSID for an iOS personal hotspot - crashes iOS devices when they scan for SSID's to connect to.
Direct link: (WARNING THIS CAN KILL WEBKIT) https://zhovner.com/tmp/killwebkit.html
Though it's only a matter of time before somebody posts it here as a comment.
I use the HN comment collapse extension plus AdBlock, Ghostery, etc. Some sort of link pre-fetching I'm not aware of?
void vDSP_sveD(double *__vDSP_A, vDSP_Stride __vDSP_I, double *__vDSP_C, vDSP_Length __vDSP_N)
with a negative length argument.open messages, delete the conversation
I had to send about 30 messages, each had about 200 words
http://thenextweb.com/shareables/2013/02/02/typing-these-eig...
Why is this happening?
$ python -c "u'\u0647\u0020\u0488\u0488\u0488'
source: https://twitter.com/nst021/status/316124758469120000