diff options
author | Chamarthi Kishore <chamarthi.kishore@ittiam.com> | 2019-11-27 13:52:47 +0530 |
---|---|---|
committer | Chamarthi Kishore <chamarthi.kishore@ittiam.com> | 2019-12-03 15:30:38 +0530 |
commit | 4bc3e63c30c71c6831133ef6bef893bd9fad1fb4 (patch) | |
tree | 8948b640cffcc26824c8290a1d496ab684ae4be9 /test | |
parent | 25e615b9cbd4ed41f9586dd82f947e72b0101f8b (diff) | |
download | platform_external_libavc-4bc3e63c30c71c6831133ef6bef893bd9fad1fb4.tar.gz platform_external_libavc-4bc3e63c30c71c6831133ef6bef893bd9fad1fb4.tar.bz2 platform_external_libavc-4bc3e63c30c71c6831133ef6bef893bd9fad1fb4.zip |
encoder: Return gracefully from entropy encoding errors
Recent error propagation change in encoder introduced a DoS when
output buffer is not large enough to hold the frame encoded.
This commit fixes the DoS seen.
Test: avcenc -c enc.cfg, avcdec -c dec.cfg
Test: revert fix for b/144928581 to reduce the output buffer size
Test: atest android.media.cts.VideoEncoderTest#testGoogH264FlexMaxMax
Test: atest android.media.cts.VideoEncoderTest#testGoogH264Flex1080p
Bug:145019703
Change-Id: I3b3408153a2cb8541a87547d51dd8bde25a33d6c
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions