Commit 1d8ddeb
fix(reader): validate segment specs in the HTTP reader
VortexHttpReader.open called PostscriptParser.parseBlobs directly, skipping
the validateSegmentSpecs containment check that the local-file path runs
inside PostscriptParser.parse. A malformed remote footer could therefore
carry segmentSpecs whose offset/length fall outside the file, which
rawSegment() would turn into out-of-bounds Range requests. Validate against
fileSize before constructing the reader.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 428026d commit 1d8ddeb
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| |||
0 commit comments