mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Fix wrong order of arguments when calling the CipherTransform ctor (bug 1782186)
This commit is contained in:
parent
0c5afe9269
commit
d092a85b6c
4 changed files with 10 additions and 2 deletions
|
@ -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
|
||||||
|
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -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
BIN
test/pdfs/bug1782186.pdf
Executable file
Binary file not shown.
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue