Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize offset memory for PyImagingPhotoPut #4806

Merged
merged 1 commit into from Oct 14, 2020

Commits on Aug 15, 2020

  1. Initialize offset memory for PyImagingPhotoPut.

    When using image mode "1" or "L" block.offset[3] is never initialized. In some use cases the block is passed to Tk_PhotoPutBlock (https://github.com/tcltk/tk/blob/master/generic/tkImgPhoto.c#L2752) and block.offset[3] is stored in alphaoffset which is later referenced.
    nqbit authored and radarhere committed Aug 15, 2020
    Copy the full SHA
    1743ac4 View commit details
    Browse the repository at this point in the history