Commit Graph

56 Commits

Author SHA1 Message Date
Raph Levien bd9d6ce3ae Security fixes to woff2 decompression
This patch addresses the security and other problems found by agl in
his review of a previous version of the code.
2013-04-05 17:01:50 -07:00
David Kuettel 1fec2c0a61 Use SevenZip Java LZMA compression library 2013-02-06 17:46:04 -08:00
David Kuettel 0c3b13964f Compile with debug information 2013-02-06 09:31:23 -08:00
Kenichi Ishibashi c779de7e99 Adding checks (part 2/2) and minor changes
- Added further checks
- Removed commenting-out code
- Fixed style ("type &variable" -> "type& variable")
- In RecunstructTransformed(), the 6th argument of RecunstructGlyf()
  call should be |loca_table->dst_length|, not |loca_table->dst_offset|.

BUG=none
TEST=compiled

Review URL: https://codereview.appspot.com/6160043
2012-06-04 14:29:42 +09:00
Kenichi Ishibashi 029e5f75f0 This CL adds some validation checks. Following CLs will add further checks.
This CL also changes pointer declarations from "type *variable" to "type* variable" to follow other OTS code.

BUG=none
TEST=compiled

Review URL: https://codereview.appspot.com/6139064
2012-05-02 09:05:08 +09:00
Raph Levien dcecdd883a Initial commit of font compression code into public project. 2012-03-23 11:21:16 -07:00