googlefonts / fontations

Reading and writing font files
Apache License 2.0
396 stars 26 forks source link

Add overflow in CFF Variation store reading #1223

Closed drott closed 1 week ago

drott commented 2 weeks ago

https://github.com/googlefonts/fontations/blob/25d04d8205455be59155d8a14aa25f182012ae5c/skrifa/src/outline/cff/mod.rs#L346

Add-overflow in offset calculation, spun off from https://issues.oss-fuzz.com/issues/377574377