When reading tiled images, where the image is not a whole number of tiles,
this bug could misallocate and run off the end of the buffer while dealing
with the partial tiles on the right or bottom edge of the image.

You can merge this Pull Request by running:

  git pull https://github.com/lgritz/oiio lg-imageinput

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenImageIO/oiio/pull/373

-- Commit Summary --

* Fix allocation and stride bugs in ImageInput::read_tiles.

-- File Changes --

M src/libOpenImageIO/imageinput.cpp (13)

-- Patch Links --

  https://github.com/OpenImageIO/oiio/pull/373.patch
  https://github.com/OpenImageIO/oiio/pull/373.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/373
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to