Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Update
xf86-video-siliconmotion
u_siliconmotion_fix_segfault_on_xorg_server_1.1...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_siliconmotion_fix_segfault_on_xorg_server_1.19.patch of Package xf86-video-siliconmotion
Author: Steven Chamberlain <steven@pyro.eu.org> Description: Don't crash on ScreenInit with xserver 1.19 diff --git a/src/smi_driver.c b/src/smi_driver.c index 8949cae..5023e63 100644 --- a/src/smi_driver.c +++ b/src/smi_driver.c @@ -1787,6 +1787,9 @@ SMI_ScreenInit(SCREEN_INIT_ARGS_DECL) "Hardware cursor initialization failed\n"); } + if(!xf86CrtcScreenInit(pScreen)) + LEAVE(FALSE); + /* Initialise default colormap */ if (!miCreateDefColormap(pScreen)) LEAVE(FALSE); @@ -1810,9 +1813,6 @@ SMI_ScreenInit(SCREEN_INIT_ARGS_DECL) SMI_InitVideo(pScreen); - if(!xf86CrtcScreenInit(pScreen)) - LEAVE(FALSE); - /* Report any unused options (only for the first generation) */ if (serverGeneration == 1) { xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor