thorfdbg / libjpeg

A complete implementation of 10918-1 (JPEG) coming from jpeg.org (the ISO group) with extensions for HDR, lossless and alpha channel coding standardized as ISO/IEC 18477 (JPEG XT).
327 stars 81 forks source link

Assertion fail in qmcoder.cpp:486 #38

Closed seviezhou closed 4 years ago

seviezhou commented 4 years ago

System info

Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), jpeg (latest master e52406)

Command line

./jpeg -oz -h -s 1x1,2x2,2x2 @@ /dev/null

Output

jpeg: qmcoder.cpp:486: bool QMCoder::GetSlow(QMContext&): Assertion `ctxt.m_ucIndex < sizeof(Qe_NextMPS)' failed.
Aborted

POC

assert-fail-GetSlow-qmcoder-486.zip

thorfdbg commented 4 years ago

This assertion no longer happens with the latest fixes, probably as as result of another fix.