mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-05 16:58:06 +02:00
Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory
This commit is contained in:
parent
f3d83ee153
commit
11a03ab908
1 changed files with 1 additions and 1 deletions
|
|
@ -3352,7 +3352,7 @@ int _XOpenFile(path, flags)
|
|||
int flags;
|
||||
{
|
||||
char buf[MAX_PATH];
|
||||
char* bufp;
|
||||
char* bufp = NULL;
|
||||
int ret = -1;
|
||||
UINT olderror = SetErrorMode (SEM_FAILCRITICALERRORS);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue