leveldb
leveldb copied to clipboard
leveldb: Fix wrong string resize in Footer::EncodeTo()
The resize of dst string in Footer::EncodeTo() doesn't consider the original length. Currently the string passed to Footer::EncodeTo() is empty so it doesn't expose this problem, but this could be a potential bug.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.