Bug 23637

Summary: --scale and --transform need to check output pointer
Product: xorg Reporter: Bryce Harrington <bryce>
Component: App/xrandrAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: jeremyhu
Version: 7.4 (2008.09)Keywords: patch
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:
Attachments:
Description Flags
0001-Check-output-pointer-validity-for-sale-and-transform.patch none

Description Bryce Harrington 2009-09-02 01:48:49 UTC
Created attachment 29095 [details] [review]
0001-Check-output-pointer-validity-for-sale-and-transform.patch

Running xrandr --scale 1x1 or --transform, without specifying --output, causes crash.

Forwarding from
https://bugs.edge.launchpad.net/ubuntu/+source/xrandr/+bug/354715
Comment 1 Julien Cristau 2010-01-02 12:56:14 UTC
adding qa contact.
Comment 2 Jeremy Huddleston Sequoia 2011-10-03 17:48:29 UTC
Your patch doesn't allow --output to come after --scale or --transform
Comment 3 Bryce Harrington 2011-10-04 17:03:43 UTC
This is long fixed.  See commit b84560759141ed52b8779c184184f888e9be8b2f

--scale and --transform are per-output options, they should not apply after --output.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.