DescriptionAvoid a write to NULL in ReadFieldBinary
what happens is that we use vector_as_array(&data) which returns null if data is empty, but we don't check |size| whichcan be 0 so data.resize(size) still an empty vector.
This is currently happening for browser_tests.exe in the waterfall.
There might be a better fix but lots of tests are having exceptions so I want to stop that.
TBR=mnissler
BUG=none
TEST=logs are clean
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222177
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|