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 bytestream.hpp:236 #30

Closed seviezhou closed 4 years ago

seviezhou commented 4 years ago

System info

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

Command line

./jpeg -oz -h -s 1x1,2x2,2x2 ./assert-fail-bytestream-236 /dev/null

Output

jpeg: ./bytestream.hpp:236: UBYTE ByteStream::LastUnDo(): Assertion `m_pucBufPtr == NULL || m_pucBufPtr > m_pucBuffer' failed.
Aborted

POC

assert-fail-bytestream-236.zip

thorfdbg commented 4 years ago

Fixed, thank you.