Can somebody take a look at this?  It's a pretty critical fix for someone.

Also, I just updated the patch with another fix to some bugs related to strides 
inside read_scanlines() for images with differing data formats per channel.

Sorry, these are in some ways separate issues, but I was chasing down what I 
thought initially was one bug but turned out to lead to both of these problems, 
so I ended up with both fixes in the same branch.  Oh well.  At least they are 
both fairly simple.



On Jun 8, 2012, at 5:50 PM, Larry Gritz wrote:

> 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

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to