GH-47924: [C++] Fix issues in CSV reader with invalid inputs#47925
GH-47924: [C++] Fix issues in CSV reader with invalid inputs#47925pitrou merged 3 commits intoapache:mainfrom
Conversation
b35dc77 to
1e77d0e
Compare
|
Ouch, trying to do safe arithmetics in I've opened #47926 so that we can hopefully find another approach. |
1e77d0e to
23582e7
Compare
|
Ouch, I hoped #47950 had fixed our problem with Windows macros but evidently it hasn't :( |
These issues were all found by OSS-Fuzz: * https://issues.oss-fuzz.com/issues/452079535 * https://issues.oss-fuzz.com/issues/452079536 * https://issues.oss-fuzz.com/issues/452118314 * https://issues.oss-fuzz.com/issues/452701622 * https://issues.oss-fuzz.com/issues/452912678
23582e7 to
fb527fc
Compare
|
@github-actions crossbow submit -g cpp |
|
Revision: fb527fc Submitted crossbow builds: ursacomputing/crossbow @ actions-24e5081a3b |
Co-authored-by: Zehua Zou <[email protected]>
|
Thanks all for the reviews! |
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 88179b6. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 24 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…pache#47925) ### Rationale for this change These issues were all found by OSS-Fuzz: * https://issues.oss-fuzz.com/issues/452079535 * https://issues.oss-fuzz.com/issues/452079536 * https://issues.oss-fuzz.com/issues/452118314 * https://issues.oss-fuzz.com/issues/452701622 * https://issues.oss-fuzz.com/issues/452912678 ### Are these changes tested? Yes, by additional fuzz regression files. ### Are there any user-facing changes? No. **This PR contains a "Critical Fix".** (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.) * GitHub Issue: apache#47924 Lead-authored-by: Antoine Pitrou <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Co-authored-by: Zehua Zou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Rationale for this change
These issues were all found by OSS-Fuzz:
Are these changes tested?
Yes, by additional fuzz regression files.
Are there any user-facing changes?
No.
This PR contains a "Critical Fix". (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.)