Merge pull request #15238 from calixteman/bug1782186

Fix wrong order of arguments when calling the CipherTransform ctor (bug 1782186)
This commit is contained in:
Jonas Jenwald 2022-07-29 13:22:25 +02:00 committed by GitHub
commit 80689c6444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -1857,14 +1857,14 @@ const CipherTransformFactory = (function CipherTransformFactoryClosure() {
return new CipherTransform(
buildCipherConstructor(
this.cf,
this.stmf,
this.strf,
num,
gen,
this.encryptionKey
),
buildCipherConstructor(
this.cf,
this.strf,
this.stmf,
num,
gen,
this.encryptionKey

View File

@ -532,3 +532,4 @@
!issue15053.pdf
!bug1675139.pdf
!issue15092.pdf
!bug1782186.pdf

BIN
test/pdfs/bug1782186.pdf Executable file

Binary file not shown.

View File

@ -6868,5 +6868,12 @@
"lastPage": 2,
"type": "eq",
"annotations": true
},
{ "id": "bug1782186",
"file": "pdfs/bug1782186.pdf",
"password": "Hello",
"md5": "8505033d63625dfd77e90a3722b0c316",
"rounds": 1,
"type": "eq"
}
]