Commit 2e2ea4f
authored
fix(domain-fronting): guard fallback JSON extraction
Reject malformed fallback relay responses where JSON brace positions are inverted instead of slicing with invalid bounds.1 parent d56ddc6 commit 2e2ea4f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3036 | 3036 | | |
3037 | 3037 | | |
3038 | 3038 | | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
3039 | 3045 | | |
3040 | 3046 | | |
3041 | 3047 | | |
| |||
3204 | 3210 | | |
3205 | 3211 | | |
3206 | 3212 | | |
| 3213 | + | |
| 3214 | + | |
| 3215 | + | |
| 3216 | + | |
| 3217 | + | |
| 3218 | + | |
3207 | 3219 | | |
3208 | 3220 | | |
3209 | 3221 | | |
| |||
4580 | 4592 | | |
4581 | 4593 | | |
4582 | 4594 | | |
| 4595 | + | |
| 4596 | + | |
| 4597 | + | |
| 4598 | + | |
| 4599 | + | |
| 4600 | + | |
4583 | 4601 | | |
4584 | 4602 | | |
4585 | 4603 | | |
| |||
0 commit comments