We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1672

Summary: Found: seg-fault with testgesture [patch included]
Product: SDL Reporter: automata
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: the patch

Description automata 2012-12-23 22:05:21 UTC
Created attachment 1002 [details]
the patch

An incorrect guard resulted in segmentation faults with the SDL/test/testgesture executable. The attached patch fixes this issue, and also allows the program's window to properly handle resize events.

Apply the attached patch to .../SDL/test/testgesture.c
Comment 1 Sam Lantinga 2012-12-31 14:09:26 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/475f0a544157