DescriptionAdd defensive code in pickle to preclude realloc of shared header_ memory.
Since I was able to (some how) generate a problem with header_ being
double freed (perhaps, because it was shared in some way??), this change
adds several lines of defensive coding. The current assignment operator
appears very dangerous, as it allowed Resize to be called when the header_
was not owned by the instance (it was read-only). I haven't found a path
to cause a problem, but we may as well be defensive.
BUG=17027
BUG=17088
r=CPU
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22261
Patch Set 1 #
Total comments: 2
Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 4
Messages
Total messages: 6 (0 generated)
|