nvJPEG raises SIGSEGV while decoding some broken JPEG images with EXIF tags while parsing their headers

nvJPEG raises SIGSEGV while decoding some “broken” JPEG images with EXIF tags while parsing their headers. These images can be find here: nvJPEG raises SIGSEGV while decoding some broken images with EXIF tags while parsing their headers · Issue #116 · NVIDIA/CUDALibrarySamples · GitHub.
Steps to reproduce:

  1. Build the official nvjpegDecoder sample: CUDALibrarySamples/nvJPEG/nvJPEG-Decoder at master · NVIDIA/CUDALibrarySamples · GitHub
  2. Run the sample with provided images.
    I was able to reproduce this segfault using nvJPEG/CUDA 11.6-12.1.

you may wish to file a bug.

Done, thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.