Issue #2 resolved

Surface.subsurface segfaults on a dead surface

Lenard Lindstrom
created an issue

The Surface.subsurface method fails to check if the surface is alive. The result is a Pygame parachute.

{{{

import pygame s = pygame.Surface.new(pygame.Surface) ss = s.subsurface((0, 0, 0, 0)) Fatal Python error: (pygame parachute) Segmentation Fault Aborted }}}

Comments (6)

  1. Log in to comment