commit | fdc62f8eb593ff1da731dc28e197fe32ddb14779 | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <[email protected]> | Tue Aug 01 19:51:00 2017 |
committer | Commit Bot <[email protected]> | Tue Aug 01 19:51:00 2017 |
tree | ba7aa10266f3646ee6de405e475f0a1e4120ee25 | |
parent | aeed1e4da5431f08168293a3d69369710319309b [diff] |
Fix Fuchsia implementation of base::RandBytes() to allow empty buffer. base::RandBytes() may be called with output_length=0 and all implementations supported this case, except Fuchsia. On Fuchsia the function was crashing due to a failed CHECK(). This was breaking MemoryDataSourceTest.EmptySource test. Bug: 737802 Change-Id: Ib9ec20a82dd6966a146f0c66936e232c061466a5 Reviewed-on: https://chromium-review.googlesource.com/595012 Commit-Queue: Nico Weber <[email protected]> Reviewed-by: Nico Weber <[email protected]> Reviewed-by: Scott Graham <[email protected]> Cr-Commit-Position: refs/heads/master@{#491086}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .