FuzzedDataProvider should vend copied std::strings instead of StringPieces |
||
Issue descriptionWith a StringPiece API, consumers can buffer overflow into an adjacent piece, and ASAN won't catch it. If instead we return std::strings this will be caught by our sanitizers. Note: this change will enable us to write a header only implementation of the FuzzedDataProvider. A few points: - We may need to test that this doesn't regress existing consumers. - Look into whether or not we should remove the FuzzedDataProvider in blink platform.
,
Oct 19 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Oct 19 2016