You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2026/04/20 13:31:13 UTC
[PR] GH-49805: [C++][Parquet] Avoid unbounded temporary allocation in DeltaBitPackDecoder::DecodeArrow [arrow]
pitrou opened a new pull request, #49806:
URL: https://github.com/apache/arrow/pull/49806
### Rationale for this change
DeltaBitPackDecoder::DecodeArrow allocates a temporary std::vector for the entire range of decoded values. This is sub-optimal, and generates out-of-memory failures in the Parquet encoding fuzzer.
This issue was found by OSS-Fuzz: https://issues.oss-fuzz.com/issues/489941774
### What changes are included in this PR?
We should instead use a fixed-size temporary buffer.
### Are these changes tested?
Yes, by existing CI tests.
### Are there any user-facing changes?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49805: [C++][Parquet] Avoid unbounded temporary allocation in DeltaBitPackDecoder::DecodeArrow [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou merged PR #49806:
URL: https://github.com/apache/arrow/pull/49806
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49805: [C++][Parquet] Avoid unbounded temporary allocation in DeltaBitPackDecoder::DecodeArrow [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #49806:
URL: https://github.com/apache/arrow/pull/49806#issuecomment-4281287676
Revision: 2728e8d65da7ce04c80fee84962dd8d36b474a46
Submitted crossbow builds: [ursacomputing/crossbow @ actions-eed82bf22a](https://github.com/ursacomputing/crossbow/branches/all?query=actions-eed82bf22a)
|Task|Status|
|----|------|
|example-cpp-minimal-build-static|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968561/job/72137719257)|
|example-cpp-minimal-build-static-system-dependency|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968250/job/72137718052)|
|example-cpp-tutorial|[](https://github.com/ursacomputing/crossbow/actions/runs/24669966661/job/72137712134)|
|test-build-cpp-fuzz|[](https://github.com/ursacomputing/crossbow/actions/runs/24669966332/job/72137711655)|
|test-conda-cpp|[](https://github.com/ursacomputing/crossbow/actions/runs/24669966961/job/72137713204)|
|test-conda-cpp-valgrind|[](https://github.com/ursacomputing/crossbow/actions/runs/24669967404/job/72137714993)|
|test-debian-13-cpp-amd64|[](https://github.com/ursacomputing/crossbow/actions/runs/24669966759/job/72137712514)|
|test-debian-13-cpp-i386|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968491/job/72137718971)|
|test-debian-experimental-cpp-gcc-15|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968023/job/72137717018)|
|test-fedora-42-cpp|[](https://github.com/ursacomputing/crossbow/actions/runs/24669967431/job/72137715368)|
|test-ubuntu-22.04-cpp|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968988/job/72137720690)|
|test-ubuntu-22.04-cpp-20|[](https://github.com/ursacomputing/crossbow/actions/runs/24669969154/job/72137721464)|
|test-ubuntu-22.04-cpp-bundled|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968197/job/72137717760)|
|test-ubuntu-22.04-cpp-emscripten|[](https://github.com/ursacomputing/crossbow/actions/runs/24669967822/job/72137716526)|
|test-ubuntu-22.04-cpp-no-threading|[](https://github.com/ursacomputing/crossbow/actions/runs/24669966757/job/72137712708)|
|test-ubuntu-24.04-cpp|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968893/job/72137720497)|
|test-ubuntu-24.04-cpp-bundled-offline|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968346/job/72137718424)|
|test-ubuntu-24.04-cpp-gcc-13-bundled|[](https://github.com/ursacomputing/crossbow/actions/runs/24669966377/job/72137711333)|
|test-ubuntu-24.04-cpp-gcc-14|[](https://github.com/ursacomputing/crossbow/actions/runs/24669968036/job/72137717063)|
|test-ubuntu-24.04-cpp-minimal-with-formats|[](https://github.com/ursacomputing/crossbow/actions/runs/24669967184/job/72137714264)|
|test-ubuntu-24.04-cpp-thread-sanitizer|[](https://github.com/ursacomputing/crossbow/actions/runs/24669966920/job/72137713048)|
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49805: [C++][Parquet] Avoid unbounded temporary allocation in DeltaBitPackDecoder::DecodeArrow [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on PR #49806:
URL: https://github.com/apache/arrow/pull/49806#issuecomment-4281266014
@github-actions crossbow submit -g cpp
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49805: [C++][Parquet] Avoid unbounded temporary allocation in DeltaBitPackDecoder::DecodeArrow [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #49806:
URL: https://github.com/apache/arrow/pull/49806#issuecomment-4284698730
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 07a0aa3ebc6cb83ecf80accd7fcce180c2579053.
There were no benchmark performance regressions. 🎉
The [full Conbench report](https://github.com/apache/arrow/runs/72221988245) has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org