-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fuzz: fuzzing decimal #3190
fuzz: fuzzing decimal #3190
Conversation
75d41f4
to
da5a038
Compare
Can the test still pass when the fix from #3145 is removed? |
No, it can not pass even with the fix. Another out of bound access:
|
/cc @AndreMouche PTAL |
Why does CI pass? |
Because we don't run fuzzing tests in CircleCI. |
A friendly ping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add the build artifacts of this and the other fuzz targets to the .gitignore
?
Build artifacts has been added to .gitignore already. @Hoverbear https://github.com/pingcap/tikv/blob/9889895d9198e5fbd90d8a43fa3b41ae3f8d637b/.gitignore#L28-L30 |
|
||
let word_buf_len = iter.next().unwrap(); | ||
let _ = lhs.clone() | ||
.round_with_word_buf_len(frac, word_buf_len, mode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we should call round
instead of round_with_word_buf_len
, or make sure the word_buf is less or equal than 9. Maybe we could make the function round_with_word_buf_len
private in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will skip it.
Have you encountered this, @overvenus ? I wanted to test it.
|
@Hoverbear Looks like you are in a wrong path. I can run the test in the project's root path.
|
/rebuild |
What have you changed?
Fuzzing
coprocessor::codec::mysql::decimal::Decimal
.Refer to a related PR or issue link
#3145