1. pygame
  2. pygame
  3. pygame
  4. Issues

Issues

Issue #93 resolved

Method Surface.fill can segfault is passed an out-of-bounds boundary rectange

Lenard Lindstrom
created an issue

The //Surface.fill// method can segfault when doing a //BLEND_RGB_ADD// fill if the optional boundary rectangle goes outside of the surface.

This addresses Pygame mailing list messages:

http://www.mail-archive.com/pygame-users@seul.org/msg09485.html

and

http://www.mail-archive.com/pygame-users@seul.org/msg09485.html

The cause is that the custom fill methods in surface_blit.c do no boundary checks.

Comments (3)

  1. Log in to comment