Re: Fix xf86-video-intel driver

2017-06-23 Thread Ted Unangst
Jonathan Gray wrote: > On Sat, Jun 24, 2017 at 11:20:00AM +1000, Jonathan Gray wrote: > > On Sat, Jun 24, 2017 at 03:00:19AM +0200, Mark Kettenis wrote: > > > The code doesn't fully initialize the structure, which was extended to > > > include a flags member at some point. Since the pending inteld

Re: Fix xf86-video-intel driver

2017-06-23 Thread Jonathan Gray
On Sat, Jun 24, 2017 at 11:20:00AM +1000, Jonathan Gray wrote: > On Sat, Jun 24, 2017 at 03:00:19AM +0200, Mark Kettenis wrote: > > The code doesn't fully initialize the structure, which was extended to > > include a flags member at some point. Since the pending inteldrm > > update uses that flags

Re: Fix xf86-video-intel driver

2017-06-23 Thread Jonathan Gray
On Sat, Jun 24, 2017 at 03:00:19AM +0200, Mark Kettenis wrote: > The code doesn't fully initialize the structure, which was extended to > include a flags member at some point. Since the pending inteldrm > update uses that flags member, the DRM_IOCTL_I915_GEM_MMAP ioctl > starts randomly failing be

Fix xf86-video-intel driver

2017-06-23 Thread Mark Kettenis
The code doesn't fully initialize the structure, which was extended to include a flags member at some point. Since the pending inteldrm update uses that flags member, the DRM_IOCTL_I915_GEM_MMAP ioctl starts randomly failing because the flags member contains stack garbage. The diff below fixes th