| Summary: | dollar gesture loading is not endian safe | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | philipp.wiesemann, sdlbug |
| Version: | HG 2.1 | Keywords: | triage-2.0.4 |
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | endian safetly for dollar gestures | ||
(In reply to Martin Gerhardy from comment #0) > Created attachment 1804 [details] > endian safetly for dollar gestures > > the saving and loading of dollar gesture is not endian safe. The attached > patch should fix this. The patch changes SDL_LoadDollarTemplates() to return -1 instead of 0 if nothing was loaded. Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! (In reply to Philipp Wiesemann from comment #1) > The patch changes SDL_LoadDollarTemplates() to return -1 instead of 0 if > nothing was loaded. I decided this one was okay. Something based on Martin's patch is now https://hg.libsdl.org/SDL/rev/9f2beba999b8, thanks! --ryan. |
Created attachment 1804 [details] endian safetly for dollar gestures the saving and loading of dollar gesture is not endian safe. The attached patch should fix this.