gn /
gn /
9a637e3326936e1669ba5cbf93924033a01fe525 gn: 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
Review-Url: https://codereview.chromium.org/2271383003
Cr-Original-Commit-Position: refs/heads/master@{#414522}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c3b455922b7ddb748e9a7b351cac7a4586c7e374
1 file changed
tree: 652af0f6776d7dabc1218ba5387ca0f01ec9196c
- tools/