You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: HG 2.0 Reported for operating system, platform: FreeBSD, All
Comments on the original bug report:
On 2012-06-27 23:58:11 +0000, Marcus von Appen wrote:
Created attachment 891
NULL pointer fix for X11_InitTouch()
On X11 a NULL pointer SIGSEGV might occur on call X11_InitTouch, if the user
has only limited access to /proc or if /proc is not mounted for whatever reason:
0 0x000000080107d88b in flockfile () from /lib/libc.so.7
1 0x0000000800fee6e3 in feof () from /lib/libc.so.7
2 0x0000000804310a58 in X11_InitTouch (_this=0x8016d7800)
at ../src/video/x11/SDL_x11touch.c:55
3 0x00000008043114ad in X11_VideoInit (_this=0x8016d7800)
at ../src/video/x11/SDL_x11video.c:371
4 0x00000008042f9b9a in SDL_VideoInit (driver_name=0x0)
It must be ensured that the return value of fopen("/proc/....") is not NULL.
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: FreeBSD, All
Comments on the original bug report:
On 2012-06-27 23:58:11 +0000, Marcus von Appen wrote:
On 2012-07-02 05:33:47 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: