apache / apache/arrow-java

[Java] FuzzIpcFile: Uncaught exception in java.base/java.nio.Buffer.checkIndex

未关闭
#357 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: bug
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

Detailed Report: https://oss-fuzz.com/testcase?key=5518211972464640

Project: arrow-java
Fuzzing Engine: libFuzzer
Fuzz Target: FuzzIpcFile
Job Type: libfuzzer_asan_arrow-java
Platform Id: linux

Crash Type: Uncaught exception
Crash Address:
Crash State:
java.base/java.nio.Buffer.checkIndex
java.base/java.nio.HeapByteBuffer.getInt
com.google.flatbuffers.Table.__reset

Sanitizer: address (ASAN)

Crash Revision: https://oss-fuzz.com/revisions?job=libfuzzer_asan_arrow-java&revision=202201300605

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5518211972464640

Issue filed automatically.

See https://google.github.io/oss-fuzz/advanced-topics/reproducing for instructions to reproduce this bug locally.
When you fix this bug, please
- mention the fix revision(s).
- state whether the bug was a short-lived regression or an old bug in any stable releases.
- add any other useful information.
This information can help downstream consumers.

If you need to contact the OSS-Fuzz team with a question, concern, or any other feedback, please file an issue at https://github.com/google/oss-fuzz/issues. Comments on individual Monorail issues are not monitored.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse
without an upstream patch, then the bug report will automatically
become visible to the public.

**Reporter**: [Liya Fan](https://issues.apache.org/jira/browse/ARROW-15558) / @liyafan82

**Note**: *This issue was originally created as [ARROW-15558](https://issues.apache.org/jira/browse/ARROW-15558). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

贡献指南

打开贡献指南

调研方向

从 FuzzIpcFile 的 OSS-Fuzz 复现程序和链接的复现说明开始。跟踪 arrow-java 中报告的 Buffer.checkIndex、HeapByteBuffer.getInt 和 Table.__reset 堆栈;完成标准是 testcase 不再导致未捕获的异常。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
data, testing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。