Surface.subsurface segfaults on a dead surface

Issue #2 resolved
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 (7)

  1. Log in to comment