Re: [PATCH xf86-qxl] Fix crash when calling CrtcRotate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

----- Original Message -----
> > I wonder if xf86-video-modesetting will reach the same crash now (since it
> > also has no crtc->driverIsPerformingTransform).
> 
> So, I guess I'm missing some context here, but in xf86CrtcScreenInit()
> if those two hooks are not implemented, it should only expose support
> for zero degree rotation (ie. rotation not supported)..  what crash
> are you seeing?

In modesetting and qxl drivers, drmmode_set_mode_major() is calling xf86CrtcRotate().
But xf86CrtcRotate() calls crtc->funcs->shadow_{destroy,allocate}() without
NULL checking in some situations and SEGV happens. See also patch with
some reference to the bug: https://freedesktop.org/patch/32869/ 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]