[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KOFFICE_1_3_BRANCH: koffice/filters/kword/pdf/xpdf/xpdf
From:       Waldo Bastian <bastian () kde ! org>
Date:       2005-01-20 17:49:23
Message-ID: 20050120174923.B8B301D04F () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Call me paranoid, but keyLength == 0 sounds like trouble.


  M +3 -0      XRef.cc   1.1.2.6


--- koffice/filters/kword/pdf/xpdf/xpdf/XRef.cc  #1.1.2.5:1.1.2.6
@@ -502,4 +502,7 @@ GBool XRef::checkEncrypted(GString *owne
           keyLength = 5;
         }
+        if (keyLength < 1) {
+          keyLength = 1;
+        }
         if (keyLength > 16) {
           keyLength = 16;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic