diff --git a/ChangeLog b/ChangeLog index 873c7d3be..ae18990d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-07 Eric Anholt + + * hw/xfree86/common/xf86fbman.c: (xf86InitFBManager): + Bug #6150: Do the obvious fix of an insane sanity check in + xf86InitFBManager. (Julio M. Merino Vidal) + 2006-03-07 Ian Romanick * hw/xfree86/common/xf86DoProbe.c: (DoProbe): diff --git a/hw/xfree86/common/xf86fbman.c b/hw/xfree86/common/xf86fbman.c index 31c84c49f..debd828bc 100644 --- a/hw/xfree86/common/xf86fbman.c +++ b/hw/xfree86/common/xf86fbman.c @@ -1209,7 +1209,7 @@ xf86InitFBManager( } if (FullBox->y2 < FullBox->y1) return FALSE; - if (FullBox->x2 < FullBox->x2) return FALSE; + if (FullBox->x2 < FullBox->x1) return FALSE; REGION_INIT(pScreen, &ScreenRegion, &ScreenBox, 1); REGION_INIT(pScreen, &FullRegion, FullBox, 1);