Commit 935868a
Fix OOB column-chunk access when chunkRemaining hits zero (#732)
Summary:
Pull Request resolved: #732
Add a bounds check immediately after the chunk-advance so that a malformed input which lands `chunkIdx` past the end of the column-chunk vector is rejected with `node_invalid_input` instead of aborting.
Reviewed By: terrelln
Differential Revision: D103844843
fbshipit-source-id: 270fe012bb9f87d9fe756e2d50ea63206877d7d51 parent 6959466 commit 935868a
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
275 | 279 | | |
276 | 280 | | |
277 | 281 | | |
| |||
0 commit comments