Menu

#1 Segfault on Linux

open
nobody
None
5
2013-02-19
2002-03-31
Anonymous
No

Due to uninitialized variables in X11DGADisplay, it
tries to free a pointer with an uninitialized value,
which leads to a segfault sometimes. This small patch
fixes it for me at least:

--- source/X11/DGADisplay.cc.orig Sun Mar 31
22:49:05 2002
+++ source/X11/DGADisplay.cc Fri Mar 29 18:59:35 2002
@@ -33,6 +33,8 @@
m_indirect=false;
m_inmode=false;
modeinfo=0;
+ m_colours=0;
+ m_cmap=0;
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.