[PATCH] xf86: return NULL for xf86CompatOutput if config->compat_output is -1

Chris Wilson chris at chris-wilson.co.uk
Mon Mar 18 11:59:22 PDT 2013


On Mon, Mar 18, 2013 at 06:47:23PM +0000, Chris Wilson wrote:
> On Mon, Mar 18, 2013 at 11:31:59AM -0700, Keith Packard wrote:
> > Aaron Plattner <aplattner at nvidia.com> writes:
> > 
> > > If there is no compat output, config->compat_output is -1 and xf86CompatOutput
> > > reads before the beginning of the outputs array.
> 
> Didn't Dave send the fix for this?
> 1357701295-19913-1-git-send-email-airlied at gmail.com
> http://patchwork.freedesktop.org/patch/12803/

And for the record

commit 3ec35c45ca17f5ed6fd02c50fc49ae7b8d128dcb
Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Jan 9 12:53:14 2013 +1000

    xf86: actually set the compat output in the failure case

It certainly fixed the instances of -1 that I was hitting...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-devel mailing list