Fix a possible null-pointer dereference (Keishi Suenaga)
This commit is contained in:
parent
d332a909f8
commit
709a2343a8
|
@ -1,3 +1,8 @@
|
||||||
|
2005-01-08 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
|
* winblock.c:
|
||||||
|
Fix a possible null-pointer dereference (Keishi Suenaga)
|
||||||
|
|
||||||
2005-01-06 Alexander Gottwald <ago at freedesktop dot org>
|
2005-01-06 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
* Imakefile
|
* Imakefile
|
||||||
|
|
|
@ -54,8 +54,11 @@ winBlockHandler (int nScreen,
|
||||||
MSG msg;
|
MSG msg;
|
||||||
#ifndef HAS_DEVWINDOWS
|
#ifndef HAS_DEVWINDOWS
|
||||||
struct timeval **tvp = pTimeout;
|
struct timeval **tvp = pTimeout;
|
||||||
(*tvp)->tv_sec = 0;
|
if (*tvp != NULL)
|
||||||
(*tvp)->tv_usec = 100;
|
{
|
||||||
|
(*tvp)->tv_sec = 0;
|
||||||
|
(*tvp)->tv_usec = 100;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(XWIN_CLIPBOARD) || defined(XWIN_MULTIWINDOW)
|
#if defined(XWIN_CLIPBOARD) || defined(XWIN_MULTIWINDOW)
|
||||||
|
|
Loading…
Reference in New Issue