pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1767699 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/Decrypt.java
Date Wed, 02 Nov 2016 15:07:01 GMT
Author: msahyoun
Date: Wed Nov  2 15:07:01 2016
New Revision: 1767699

URL: http://svn.apache.org/viewvc?rev=1767699&view=rev
Log:
PDFBOX-3551: fix number of max allowed command line arguments to match maximum input

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/Decrypt.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/Decrypt.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/Decrypt.java?rev=1767699&r1=1767698&r2=1767699&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/Decrypt.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/Decrypt.java Wed Nov  2 15:07:01
2016
@@ -59,7 +59,7 @@ public class Decrypt
 
     private void decrypt( String[] args ) throws Exception
     {
-        if( args.length < 2 || args.length > 5 )
+        if( args.length < 2 || args.length > 8 )
         {
             usage();
         }



Mime
View raw message