Skip to content

Opening a QOI image file throws exception: read access violation #9278

Description

@gm-h28669

Describe the bug

Opening a QOI image file throws exception "read access violation"

  1. Error happens on code line:
    Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(filename);
  2. I have attached QOI image file
  3. I have attached screenshot of VS2022 debug session

To Reproduce

Steps to reproduce the behavior:

  1. Create a simple C++ program that just calls Exiv2::ImageFactory::open:
    Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(filename);
  2. Debug program, step over line that opens file
  3. Read access exception is thrown
Image Image

Expected behavior

Opening QOI file should succeed

Desktop (please complete the following information):

Additional context

Add any other information about the problem here.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions