| author | Jay Cotton <jay.cotton@sun.com> | 2008-12-02 00:06:09 (GMT) |
|---|---|---|
| committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-12-02 00:06:09 (GMT) |
| commit | 5f3f14179edf48aad518f6f707bfdc37c27267c6 (patch) (side-by-side diff) | |
| tree | 7dfa83b1651a37a40e70d3af0a2f5b9711a8b6ef | |
| parent | 09df7cc5ad7b72d8a23c3e22fc718aad8c16f4d3 (diff) | |
| download | xserver-5f3f14179edf48aad518f6f707bfdc37c27267c6.zip xserver-5f3f14179edf48aad518f6f707bfdc37c27267c6.tar.gz | |
Sun bug 6618220: Xorg server core dump in xf86RandRModeRefresh(NULL)
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6618220>
| -rw-r--r-- | hw/xfree86/common/xf86RandR.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86RandR.c b/hw/xfree86/common/xf86RandR.c index 79d3017..2d1ec5d 100644 --- a/hw/xfree86/common/xf86RandR.c +++ b/hw/xfree86/common/xf86RandR.c @@ -74,7 +74,7 @@ xf86RandRGetInfo (ScreenPtr pScreen, Rotation *rotations) *rotations = RR_Rotate_0; - for (mode = scrp->modes; ; mode = mode->next) + for (mode = scrp->modes; mode != NULL ; mode = mode->next) { int refresh = xf86RandRModeRefresh (mode); |
