Chromium Code Reviews
DescriptionSimpleCache: fix error in computation of crc32 for stream 0
This CL fixes the following problem:
1) An EOF record for stream 0 is written to disk with no crc32.
2) The entry is opened, and the wrong crc32 (from the EOF records, that is
invalid) is assigned as the computed value for stream 0.
3) Something is written to stream1 but not to stream 0 and the entry is closed.
An EOF record needs to be written for stream 0, where the HAS_CRC32 flag is on,
but which has the wrong value.
4) Next open will fail because of wrong value of crc32 for stream 0.
BUG=173398
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224138
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||