Fix wrong order of arguments when calling the CipherTransform ctor (bug 1782186)

This commit is contained in:
Calixte Denizet 2022-07-29 12:29:19 +02:00
parent 0c5afe9269
commit d092a85b6c
4 changed files with 10 additions and 2 deletions

View File

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

View File

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

BIN
test/pdfs/bug1782186.pdf Executable file

Binary file not shown.

View File

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