[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SIGSEGV hitting Alt-Insert in in e_x_cp_X_to_buffer() at we_xterm.c:956
> SYSTEM: Redhat 6.2, 2.2.14-5.1, pentium I, 32M of RAM
> VERSION: xwpe-1.5.23a
> SYNOPSIS: Hitting Alt-Insert just after startup causes SEGV.
One patch comming up.
Dennis Payne
dulsi@identicalsoftware.com
--- we_xterm.c.orig Thu Sep 14 02:19:11 2000
+++ we_xterm.c Thu Sep 14 02:19:11 2000
@@ -951,6 +951,11 @@
XGetWindowProperty(WpeXInfo.display, WpeXInfo.window, WpeXInfo.property_atom,
0, 1000000, FALSE, WpeXInfo.text_atom, &type, &format, &nitems, &bytes_left,
&str);
+ if (type == None)
+ {
+ /* Specified property does not exit*/
+ return 0;
+ }
n = strlen(str);
}
#else