Files
lifuminharmony ef8dbb5eb0 fix: add format validation to prevent OOB read in handle_video_timestamp and handle_stars_info
Before calling handle_video_timestamp() and handle_stars_info(),
only e->tag was checked without verifying e->format matches the expected type.
This could cause OOB read when malicious EXIF data has mismatched format.

- handle_video_timestamp expects EXIF_FORMAT_RATIONAL (8 bytes per component)
- handle_stars_info expects EXIF_FORMAT_SLONG (4 bytes per component)

If format is set to a smaller type (e.g., BYTE = 1 byte) while components
remain large, exif_get_rational/exif_get_slong would read beyond allocated
e->data buffer.

Change-Id: I287a8c22c7dc1a6905f75e97d9f45e7f9f42a1cb
Signed-off-by: lifuminharmony <lifumin3@h-partners.com>
Co-Authored-By: Agent
Signed-off-by: lifuminharmony <lifumin3@h-partners.com>
2026-05-28 21:23:38 +08:00
..
2026-04-21 14:44:31 +08:00
2026-04-21 14:44:31 +08:00
2026-04-21 14:44:31 +08:00
2026-04-21 14:44:31 +08:00
2026-04-21 14:44:31 +08:00
2025-05-21 15:01:48 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 15:38:32 +08:00
2025-05-21 15:38:32 +08:00
2025-05-21 15:23:17 +08:00
2026-04-04 16:07:20 +08:00
2025-05-21 15:38:32 +08:00
2025-10-12 15:18:26 +08:00
2025-05-21 15:38:30 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 15:38:29 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 15:23:17 +08:00
2025-05-21 14:47:16 +08:00
2025-05-21 14:47:16 +08:00