Files
ffmpeg/libavcodec
Michael Niedermayer ae37eda47c avcodec/cbs_jpeg: Try to move the read entity to one side in a test
The checked entity should be alone on one side of the check, this avoids
complex considerations of overflows.
This fixes a issue of bad style in our code and a coverity issue.

Fixes: CID1439654 Untrusted pointer read

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 385784a148)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-07-21 19:55:11 +02:00
..
2023-11-10 00:25:38 +01:00
2022-07-07 21:52:52 +02:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-05-08 10:38:54 +08:00
2022-07-09 20:06:47 +02:00
2024-06-13 11:22:11 +02:00
2022-07-07 21:52:52 +02:00
2024-06-13 11:22:10 +02:00
2022-07-12 21:55:22 +02:00
2023-02-22 00:32:19 +01:00
2024-06-13 11:13:56 +02:00
2022-06-25 09:05:58 +08:00
2022-05-30 19:44:11 +02:00
2024-06-13 19:45:26 +02:00
2022-06-16 10:23:30 +02:00
2022-07-03 15:16:31 +02:00
2023-10-30 00:39:00 +01:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2023-02-22 00:10:15 +01:00
2023-02-21 23:53:32 +01:00
2023-10-30 00:38:57 +01:00
2022-04-10 20:12:23 +02:00
2022-04-13 00:37:06 +02:00
2022-06-25 09:05:58 +08:00
2022-07-13 00:27:37 +02:00
2024-06-13 11:22:12 +02:00
2024-06-13 19:44:50 +02:00
2022-07-12 21:55:22 +02:00