Commit ec4cc0f
Fix IDX10816 decompression failure for large JWE payloads in DeflateCompressionProvider (#3286)
* Initial plan
* Initial plan for fixing IDX10816 decompression issue
Co-authored-by: pmaytak <[email protected]>
* Fix IDX10816 decompression issue and add tests
Co-authored-by: pmaytak <[email protected]>
* Final verification and restore global.json
Co-authored-by: pmaytak <[email protected]>
* Change comparison to <= MaximumDeflateSize for clearer intent in loop condition
Co-authored-by: pmaytak <[email protected]>
* Addressing PR comments
Co-authored-by: pmaytak <[email protected]>
* Revert global.json to original state - only decompression changes needed
Co-authored-by: pmaytak <[email protected]>
* Update DeflateCompressionProviderTests to use Assert class instead of CompareContext/TestUtilities
Co-authored-by: pmaytak <[email protected]>
* Add test to reproduce issue #2516 scenario with large JWE payload decompression
Co-authored-by: pmaytak <[email protected]>
* Fix formatting, fix tests.
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: pmaytak <[email protected]>1 parent 35cc68b commit ec4cc0f
File tree
2 files changed
+62
-2
lines changed- src/Microsoft.IdentityModel.Tokens
- test/Microsoft.IdentityModel.Tokens.Tests
2 files changed
+62
-2
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | | - | |
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
| |||
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
91 | | - | |
| 99 | + | |
92 | 100 | | |
93 | 101 | | |
94 | 102 | | |
| |||
Lines changed: 52 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 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments