diff options
| author | 2023-05-22 19:05:06 +0530 | |
|---|---|---|
| committer | 2023-05-31 20:47:25 +0000 | |
| commit | 4a72c19f8861c59f23bd075ac665fe49e3dd0a40 (patch) | |
| tree | 879747dd4ccd0d7b6776efdbe9557b1c40cdf4d7 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 6bd58d4d045fab777551175e0d16fb9c5f22c0cb (diff) | |
ultrahdr: compress image reads outside bounds for non aligned widths
jpeg_write_raw_data() processes one MCU row per call, and thus one must
pass buffer of at least max_v_samp_factor * DCTSIZE scanlines. The
buffer must be large enough to hold the actual data plus padding
to DCT-block boundaries.
Bug: 284117683
Test: ./ultrahdr_enc_fuzzer
Change-Id: I993773817bf3805463bb21bb977624d6c2d45a0b
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions