>From 390b747bd7f31f3fad189c67928a0ba68b974891 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 19 Aug 2013 16:32:05 -0400 Subject: [PATCH 2/3] Fix sign --- src/sfnt/ttload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index 89a8ae0..e6b9064 100644 --- a/src/sfnt/ttload.c +++ b/src/sfnt/ttload.c @@ -391,8 +391,8 @@ { entry->Tag = FT_GET_TAG4(); entry->CheckSum = FT_GET_ULONG(); - entry->Offset = FT_GET_LONG(); - entry->Length = FT_GET_LONG(); + entry->Offset = FT_GET_ULONG(); + entry->Length = FT_GET_ULONG(); /* ignore invalid tables */ if ( entry->Offset + entry->Length > stream->size ) -- 1.8.3