Skip to content
  • Ell's avatar
    Issue #2436 - Crash after downsizing canvas · 0cdbe91e
    Ell authored
    In gimp_view_renderer_drawable_render(), avoid overflow in preview-
    area calculation.  This prevents erroneously setting 'scaling_up'
    to FALSE while upscaling the drawable by a very large amount, which
    can lead to the creation of a very large GimpTempBuf for the
    preview, causing memory allocation to fail.
    0cdbe91e