Commit 407cf91
crypto: guard against size_t overflow on experimental 32-bit arch
Refs: https://hackerone.com/reports/3655230
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: nodejs#62626
Backport-PR-URL: nodejs#63563
Refs: https://hackerone.com/reports/3655230
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>1 parent bb2857b commit 407cf91Copy full SHA for 407cf91
2 files changed
+52-1Lines changed: 52 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/crypto
- test/pummel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/crypto/crypto_turboshake.cc
Copy file name to clipboardExpand all lines: src/crypto/crypto_turboshake.cc+11-1Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
587 | 587 | |
588 | 588 | |
589 | 589 | |
590 | | - |
591 | 590 | |
592 | 591 | |
593 | 592 | |
| ||
596 | 595 | |
597 | 596 | |
598 | 597 | |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
| 602 | + |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + |
| 607 | + |
| 608 | + |
599 | 609 | |
600 | 610 | |
601 | 611 | |
|
Collapse file
test/pummel/test-webcrypto-kangarootwelve-32bit-overflow.js
Copy file name to clipboard+41Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
0 commit comments