libjpeg commit 281daa9 exists to contain an infinite loop via the component Frame::ParseTrailer.
jpeg libjpeg -