[Player-cvs] app/gtk sysinfo.cpp,1.1.2.1,1.1.2.1.2.1

[Player-cvs] app/gtk sysinfo.cpp,1.1.2.1,1.1.2.1.2.1

rggammon at helixcommunity.org rggammon at helixcommunity.org
Thu Jul 29 11:24:03 PDT 2004


Update of /cvsroot/player/app/gtk
In directory cvs-new:/tmp/cvs-serv4796

Modified Files:
      Tag: hxclient_1_4_2_neptunex
	sysinfo.cpp 
Log Message:
Fix crash on uninitialized variable in distribution detection code


Index: sysinfo.cpp
===================================================================
RCS file: /cvsroot/player/app/gtk/sysinfo.cpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.2.1
diff -u -d -r1.1.2.1 -r1.1.2.1.2.1
--- sysinfo.cpp	15 Jul 2004 02:00:34 -0000	1.1.2.1
+++ sysinfo.cpp	29 Jul 2004 18:24:01 -0000	1.1.2.1.2.1
@@ -207,7 +207,7 @@
 static gboolean
 get_distribution_name_from_etc_xxx_release(HXSysInfo* info)
 {
-    GIOChannel* chan;
+    GIOChannel* chan = NULL;
     GIOStatus status;
     GError* error = NULL;
     guint i;




More information about the Player-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.