From 108b766c31b57fb1955d34d85673a235c7f743aa Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 May 2010 11:04:53 +1000 Subject: [PATCH] xfree86: initialize InputAttributes to NULL in the autoconfig code. Reported-by: Jamey Sharp Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp --- hw/xfree86/common/xf86Config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index a4813683c..7acb6afaa 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -2330,6 +2330,7 @@ configInput(IDevPtr inputp, XF86ConfInputPtr conf_input, MessageType from) inputp->driver = conf_input->inp_driver; inputp->commonOptions = conf_input->inp_option_lst; inputp->extraOptions = NULL; + inputp->attrs = NULL; return TRUE; }