Bug #6150: Do the obvious fix of an insane sanity check in

xf86InitFBManager. (Julio M. Merino Vidal)
This commit is contained in:
Eric Anholt 2006-03-08 03:32:07 +00:00
parent 2e6f801fe1
commit cb5090e8d6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-03-07 Eric Anholt <anholt@FreeBSD.org>
* 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 <idr@us.ibm.com>
* hw/xfree86/common/xf86DoProbe.c: (DoProbe):

View File

@ -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);