FFmpeg/libavcodec
Michael Niedermayer 385784a148
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>
2024-07-02 21:57:20 +02:00
..
2024-06-04 11:46:27 +02:00
2024-06-04 11:46:27 +02:00
2024-06-04 11:46:27 +02:00
2024-06-08 00:22:40 +02:00
2024-06-08 00:22:40 +02:00
2024-06-04 11:46:27 +02:00
2024-06-08 00:22:35 +02:00
2024-06-13 20:36:09 -03:00
2024-06-04 11:46:27 +02:00
2024-06-07 21:42:24 +02:00
2024-06-14 21:28:10 +03:00
2024-06-08 00:22:35 +02:00
2024-06-08 00:22:35 +02:00
2024-06-04 11:46:27 +02:00
2024-06-20 18:58:39 +02:00
2024-06-03 14:13:34 +02:00
2024-06-12 12:07:49 +02:00
2024-06-20 18:58:38 +02:00
2024-06-07 21:42:24 +02:00