Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Firefox 4: OpenType font feature support (hacks.mozilla.org)
28 points by mgunes on Nov 11, 2010 | hide | past | favorite | 4 comments


Several years ago, the WebKit folks added support for web fonts (TrueType fonts, in particular). It seemed harmless enough.

They didn't talk to the core OS X people, who assumed that fonts would largely be trusted entities. The file format for TTF is quite complex, in reality, and allows for a wide variety of attack. At that time, there were dozens of easily exploitable vulnerabilities in how OS X handled TTF fonts.

Most of these have been fixed by now, however. I would assume the Mozilla foundation would have the foresight to avoid a repeat of such situations, and all rendering code would have been fully fuzzed.


Yes, Mozilla's security does have a font fuzzer (along with the JavaScript fuzzer and DOM fuzzer that have been instrumental in finding security holes before the bad guys do):

http://www.squarefree.com/2010/07/14/fuzzing-talk-at-the-moz...

https://wiki.mozilla.org/Firefox3.1/Downloadable_Fonts_Secur...


Fantastic :)

(Demo is a bit odd, though — it won’t let me use the backspace key to navigate back, no matter where I click.)


Great news for typography lovers.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: