-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index out of range [0] with length 0 in AppendMyDecimal
, AppendPartialRow
, AppendInt64
, AppendFloat64
, AppendUint64
#52980
Comments
/label affects-5.4 |
/label affects-8.1 |
/label affects-6.1 |
/label affects-6.5 |
/label affects-7.1 |
/label affects-7.5 |
Reproduced with tidb_version: |
Duplicated with #52768 , close it. |
/close |
@yibin87: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
First execute the following valid.sql
valid.txt
Then a crash occurs when executing the error.sql below
error.txt
Additionally, here are some similar bugs, where
AppendMyDecimal
is replaced byAppendPartialRow
,AppendInt64
,AppendFloat64
,AppendUint64
in the call stack. These can be reproduced with the following PoC.Append_bugs.zip
2. What did you expect to see? (Required)
Expect no crashes
3. What did you see instead (Required)
tidb.log:
4. What is your TiDB version? (Required)
We are the BASS team from the School of Cyber Science and Technology at Beihang University. Our main focus is on system software security, operating systems, and program analysis research, as well as the development of automated program testing frameworks for detecting software defects. Using our self-developed database vulnerability testing tool, we have identified the above-mentioned vulnerabilities in TiDB that may lead to database crashes.
The text was updated successfully, but these errors were encountered: