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

IFF output safety #3676

Merged
merged 1 commit into from
Nov 18, 2022
Merged

Commits on Nov 18, 2022

  1. IFF output safety

    * Maya IFF documentation says IFF file has max resolution of 8192, and
      our implementation only allows writing RGB and RGBA, so check these
      limits when an IFF file is opened for output.
    
    * Make sure scratch space allocates enough for tile padding.
    
    * Check for non-zero image origin coordinates (which are not allowed
      in IFF files).
    
    * Change some 16-bit loop variables to uint32_t to avoid possible
      overflow.
    
    Fixes TALOS-2022-1654, TALOS-2022-1655, TALOS-2022-1656
    lgritz committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    b093114 View commit details
    Browse the repository at this point in the history