Skip to content
  • Tobias Stoeckmann's avatar
    render: Fix out of boundary heap access · ac15d4ce
    Tobias Stoeckmann authored and Adam Jackson's avatar Adam Jackson committed
    
    
    ProcRenderCreateRadialGradient and ProcRenderCreateConicalGradient must
    be protected against an integer overflow during length check. This is
    already included in ProcRenderCreateLinearGradient since the fix for
    CVE-2008-2362.
    
    This can only be successfully exploited on a 32 bit system for an
    out of boundary read later on. Validated by using ASAN.
    
    Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
    ac15d4ce