• Max Morin's avatar
    Validate bitstream_data_size in AudioSyncReader. · 7ca0390e
    Max Morin authored
    In case the compressed data that is sent to the browser is larger than the
    allocated buffer, we shouldn't try to use the buffer. We should also be a bit
    careful with the bitstream_frames field, since it comes from an IPC call and
    thus isn't trustworthy.
    
    Bug: 792422
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: I1f6c02a4947b593375575da659573b1a93b93bd3
    Reviewed-on: https://chromium-review.googlesource.com/810604Reviewed-by: default avatarOlga Sharonova <olka@chromium.org>
    Commit-Queue: Max Morin <maxmorin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#522107}
    7ca0390e
BUILD.gn 85.4 KB