Files
Crosspoint/scripts
Jeremy Klein 597edeebd8 fix: guard DC writes in JPEGDEC MCU_SKIP path
EIGHT_BIT_GRAYSCALE decode of a 3-component progressive JPEG calls
JPEGDecodeMCU_P with MCU_SKIP for Cb and Cr after every Y MCU. The
existing safe-pMCU patch redirects the wild pointer to &sMCUs[0] but
leaves the DC store unguarded, so each chroma skip overwrites the
just-decoded Y DC with the chroma DC predictor. Output reads sMCUs[0],
gets the trailing Cr DC (~0), and renders an all-black image.

Add `if (iMCU >= 0)` guards to the two pMCU[0] writes (main DC store
and successive-approximation update). The pointer redirect stays as the
AC wild-pointer defence; the new guards stop the silent corruption at
sMCUs[0]. The two fixes are independent and both required.
2026-05-19 20:05:07 +02:00
..
2026-04-11 09:47:18 +02:00
2026-04-02 20:19:19 +02:00
2026-05-13 09:27:29 +02:00
2026-05-03 10:29:10 +02:00
2026-03-26 11:05:13 +01:00
2026-05-16 21:09:04 +02:00
2026-05-04 15:00:44 +02:00
2026-05-15 22:44:54 +02:00
2026-04-21 22:16:23 +02:00
2026-04-28 18:09:36 +02:00
2026-05-04 15:00:44 +02:00
2026-04-03 10:17:42 +02:00