Descriptiongn: Don't read unitialized memory on files containing just a comment.
The BlockNode::GetRange() of a block containing nothing doesn't have
an initialized bytes_ member. Skip empty nodes, they'll be assinged
to the file block further down.
Patch sketch by scottmg.
BUG=640856
Committed: https://crrev.com/c3b455922b7ddb748e9a7b351cac7a4586c7e374
Cr-Commit-Position: refs/heads/master@{#414522}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : _EQ #Messages
Total messages: 13 (8 generated)
|