mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: dri: ProcXF86DRIGetClientDriverName() fix uninitialized variable
The clientDriverName variable might be left uninitialized when DRIGetClientDriverName() fails. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -197,7 +197,7 @@ ProcXF86DRICloseConnection(register ClientPtr client)
|
||||
static int
|
||||
ProcXF86DRIGetClientDriverName(register ClientPtr client)
|
||||
{
|
||||
char *clientDriverName;
|
||||
char *clientDriverName = NULL;
|
||||
|
||||
REQUEST(xXF86DRIGetClientDriverNameReq);
|
||||
REQUEST_SIZE_MATCH(xXF86DRIGetClientDriverNameReq);
|
||||
|
||||
Reference in New Issue
Block a user