YuLi
daaa74a72e
fix(ext-codec): harden H264/H265 SPS/VPS parsing against malformed input ( #4781 )
...
- Add 1MiB cap on parameter set size to prevent memory exhaustion
- Validate SPS/VPS field ranges per H.264/H.265 spec (sps_id, bit_depth, poc_type, ref_frames, etc.)
- Fix Exp-Golomb reader EOF/overflow handling (throw instead of silent zero)
- Use wide integers for crop/delta_scale arithmetic to prevent overflow
- Commit output params only after full parse success (no partial metadata)
- Harden getExtraData with size checks, from_nalu API, AssertFailedException guard
- Avoid redundant update() in inputFrame_l (retry only on SPS change or first-ready)
2026-07-23 11:43:21 +08:00
..
2026-01-24 23:57:36 +08:00
2024-09-19 14:53:50 +08:00
2024-03-22 20:50:07 +08:00
2024-09-19 14:53:50 +08:00
2024-09-19 14:53:50 +08:00
2024-09-19 14:53:50 +08:00
2025-10-16 19:26:46 +08:00
2026-01-08 21:18:00 +08:00
2025-10-16 19:26:46 +08:00
2025-09-26 21:28:12 +08:00
2025-01-03 11:33:35 +08:00
2026-01-08 21:18:00 +08:00
2025-10-16 19:26:46 +08:00
2025-05-11 11:18:34 +08:00
2024-12-28 10:41:52 +08:00
2026-07-23 11:43:21 +08:00
2024-12-04 10:46:37 +08:00
2024-09-19 14:53:50 +08:00
2024-09-19 14:53:50 +08:00
2024-09-19 14:53:50 +08:00
2024-09-19 14:53:50 +08:00
2026-07-23 11:43:21 +08:00
2024-09-19 14:53:50 +08:00
2024-09-19 14:53:50 +08:00
2024-09-19 14:53:50 +08:00
2026-05-03 19:50:09 +08:00
2024-09-19 14:53:50 +08:00
2024-11-30 08:23:10 +08:00
2024-09-19 14:53:50 +08:00
2026-06-14 12:01:47 +08:00
2024-09-19 14:53:50 +08:00
2024-11-30 08:23:10 +08:00
2024-09-19 14:53:50 +08:00
2026-03-11 22:17:48 +08:00
2026-03-11 22:17:48 +08:00
2026-03-11 22:17:48 +08:00
2026-03-11 22:17:48 +08:00
2026-03-11 22:17:48 +08:00
2026-03-11 22:17:48 +08:00
2026-03-11 22:17:48 +08:00
2026-03-11 22:17:48 +08:00
2024-12-03 10:40:24 +08:00
2024-12-03 10:40:24 +08:00
2024-12-03 10:40:24 +08:00
2024-12-03 10:40:24 +08:00
2026-01-08 21:18:00 +08:00
2025-10-16 19:26:46 +08:00
2025-10-19 11:56:35 +08:00
2025-10-16 19:26:46 +08:00
2025-10-16 19:26:46 +08:00
2026-01-08 21:18:00 +08:00
2026-01-08 21:18:00 +08:00
2026-01-08 21:18:00 +08:00
2025-10-16 19:26:46 +08:00
2026-01-08 21:18:00 +08:00
2026-03-30 10:14:29 +08:00
2025-10-16 19:26:46 +08:00
2025-10-19 11:56:35 +08:00
2025-10-16 19:26:46 +08:00