DescriptionRemove some uninitialized reads from simple cache metadata serializer.
Valgrind detects uninitialized reads very well, and that's great! It catches cases when we allocate garbage on stack, hash it, write to the file. If we ever had wanted to repeat the operation, the hash would have been most likely be different, which could be fine in prod, but bad for testing.
More details in the bug.
BUG=173393
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193936
Patch Set 1 #Patch Set 2 : more memset goodness #
Messages
Total messages: 12 (0 generated)
|