diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2009-05-24 10:32:38 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2009-05-24 10:33:40 +0200 |
commit | c70511931ca1441878daed50e710fa514f6ab077 (patch) | |
tree | adc51bfad0bb263b8f92b9db2a550114bf42caee | |
parent | 99e22b86c5f1a3653f3caaf01368a777d2b208d0 (diff) |
fix typo in cabff9007 which led to an unintialized memory read and a crash.
-rw-r--r-- | hw/xfree86/common/xf86Config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 165958b07..24049aaa0 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -1226,7 +1226,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) const char **driver = mousedrivers; confInput = xf86findInput(CONF_IMPLICIT_POINTER, xf86configptr->conf_input_lst); - while (driver && !confInput) { + while (*driver && !confInput) { confInput = xf86findInputByDriver(*driver, xf86configptr->conf_input_lst); driver++; |