For security purposes we should do that. (Or long-term rewrite the parser in Rust.)
Activity
SimonSapin commentedon Aug 6, 2014
What does this mean? Does Freetype have known vulnerabilities parsing malicious fonts? What do other browsers do?
pcwalton commentedon Aug 6, 2014
I don't know the specifics, but Firefox and Chromium use this sanitizer to defend against vulnerabilities: https://code.google.com/p/ots/
Probably is fine to start to make Rust bindings for OTS and run fonts through it.
BrendanEich commentedon Aug 6, 2014
roc and jkew know all.
/be
kmcallister commentedon May 12, 2015
I can do the OTS bindings.
kmcallister commentedon May 13, 2015
The bindings work, now I'll wire it up to Servo.
Sanitise web fonts
Auto merge of #6030 - kmcallister:fontsan, r=pcwalton
Sanitise web fonts
Auto merge of #6030 - kmcallister:fontsan, r=pcwalton
16 remaining items
jdm commentedon Jun 6, 2016
@talklittle Seems like it's worth a shot!
Auto merge of #9 - talklittle:master, r=mbrubeck
Auto merge of #11649 - talklittle:sanitize_web_fonts_3030, r=nox
Auto merge of #11649 - talklittle:sanitize_web_fonts_3030, r=nox
Auto merge of #11649 - talklittle:sanitize_web_fonts_3030, r=nox
Sanitise web fonts
Sanitise web fonts
Sanitise web fonts
Sanitise web fonts
Sanitise web fonts
Sanitise web fonts
Auto merge of #9 - talklittle:master, r=mbrubeck