<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,7 +16,7 @@
 // Copyright (C) 2006 Takashi Iwai &lt;tiwai@suse.de&gt;
 // Copyright (C) 2007 Koji Otani &lt;sho@bbr.jp&gt;
 // Copyright (C) 2007 Carlos Garcia Campos &lt;carlosgc@gnome.org&gt;
-// Copyright (C) 2008 Albert Astals Cid &lt;aacid@kde.org&gt;
+// Copyright (C) 2008, 2009 Albert Astals Cid &lt;aacid@kde.org&gt;
 // Copyright (C) 2008 Tomas Are Haavet &lt;tomasare@gmail.com&gt;
 //
 // To see a description of the changes please see the Changelog file that
@@ -1539,6 +1539,9 @@ void FoFiTrueType::cvtSfnts(FoFiOutputFunc outputFunc,
 
   // construct the 'head' table, zero out the font checksum
   i = seekTable(&quot;head&quot;);
+  if (i &lt; 0 || i &gt;= nTables) {
+    return;
+  }
   pos = tables[i].offset;
   if (!checkRegion(pos, 54)) {
     return;</diff>
      <filename>fofi/FoFiTrueType.cc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>548c72600b8a5e076647041660ed5031feedc7cc</id>
    </parent>
  </parents>
  <author>
    <name>Albert Astals Cid</name>
    <email>aacid@kde.org</email>
  </author>
  <url>http://github.com/kou/poppler-test/commit/0c3517bfb4e1e1a28962f8d490ad69ec5766b6a1</url>
  <id>0c3517bfb4e1e1a28962f8d490ad69ec5766b6a1</id>
  <committed-date>2009-05-20T14:08:41-07:00</committed-date>
  <authored-date>2009-05-20T14:08:41-07:00</authored-date>
  <message>Fix pdftops crash on file from KDE bug 174899

Still does not generate a correct ps file, but at least the program does not crash now</message>
  <tree>c60f54988ecd6eb9f14c7fed49e3fd28aed52102</tree>
  <committer>
    <name>Albert Astals Cid</name>
    <email>aacid@kde.org</email>
  </committer>
</commit>
