eclipseo / rpms / blender

Forked from rpms/blender 23 days ago
Clone

ff1b8d2 Security fix for CVE-2022-0545 (fix RHBZ#2052012, fix RHBZ#2052013)

Authored and Committed by music 2 years ago
    Security fix for CVE-2022-0545 (fix RHBZ#2052012, fix RHBZ#2052013)
    
    Backport 63fdcbb5889e.
    
        Fix T94629: The IMB_flip API would fail with large images
    
        Fix IMB_flip[xy] to handle cases where integer overflow might occur when
        given sufficiently large image dimensions.
    
        All of these fixes were of a similar class where the intermediate
        sub-expression would overflow silently. Widen the types as necessary.
    
        Differential Revision: https://developer.blender.org/D13744
    
        
file modified
+21 -0