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 - Found: seg-fault with testgesture [patch included]
Summary: Found: seg-fault with testgesture [patch included]
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 minor
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 22:05 UTC by automata
Modified: 2012-12-31 14:09 UTC (History)
0 users

See Also:


Attachments
the patch (1020 bytes, application/octet-stream)
2012-12-23 22:05 UTC, automata
Details

Note You need to log in before you can comment on or make changes to this bug.
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