Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Unified Diff: src/cff.cc

Issue 9447013: [OTS] Allow empty Private DICT inside CFF data (Closed) Base URL: http://ots.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cff.cc
===================================================================
--- src/cff.cc (revision 80)
+++ src/cff.cc (working copy)
@@ -760,7 +760,7 @@
return OTS_FAILURE();
}
const uint32_t private_length = operands.back().first;
- if (private_offset >= table_length) {
+ if (private_offset > table_length) {
return OTS_FAILURE();
}
if (private_length >= table_length) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698