| Summary: | [PATCH] video: waylandmouse: handle mmap errors properly | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryo Munakata <afpacket> |
| Component: | video | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gabomdq |
| Version: | 2.0.3 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch which fixes this bug | ||
Got it, thanks! https://hg.libsdl.org/SDL/rev/64fcdfcd5bca Patch committed. |
Created attachment 1865 [details] Patch which fixes this bug Just an one-liner patch. We need to look at the return value of mmap to handle errors of mmap.