-
Notifications
You must be signed in to change notification settings - Fork 478
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
sstable/rowblk: block restarts overflow #4216
Comments
Thanks for the report; we'll fix. I went stepping through our issue backlog and found #3333 which seems to be a duplicate of this issue. When we fix it, we should close out both. Cockroach folks, I'm thinking Edward will pick this up in the next couple weeks. |
We'll want to fix this on master, the crl-release branches and the non-crl release branches. Unfortunately it'll probably mean making the changes multiple times given the amount of code drift. |
Yes it seems like the exactly same. |
I have seen a panic issue on pebble Db on one of my Ethereum nodes. After digging into the issue found the reason is that when block
Iter.restarts
> 2G which will became a negative value(int32), in the functionSeekGE()
it will useint32
to read theoffset
. Due to the negative offset it caused a out-of-bound read panic.I modified the code and use
uint32
instead ofint32
, it works well after the testing.Jira issue: PEBBLE-317
The text was updated successfully, but these errors were encountered: