https://qa.mandrakesoft.com/show_bug.cgi?id=613

           Product: gnomemeeting
         Component: gnomemeeting
           Summary: gnomemeeting crashes when it is called with no prev.
                    config
           Version: 0.94-0.1.2mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


gnomemeeting crashes right after starting when there are no entries for the
mixer in the configuration. The following small patch fixes that:

--- sound_handling.cpp~ 2002-12-06 18:19:09.000000000 +0100
+++ sound_handling.cpp  2002-12-06 18:19:09.000000000 +0100
@@ -61,7 +61,7 @@
 #ifdef HAS_IXJ
   OpalLineInterfaceDevice *lid = NULL;
  
-  if (!strcmp (mixer, "/dev/phone0"))
+  if (mixer && !strcmp (mixer, "/dev/phone0"))
   {
     unsigned vol = 0;
  
@@ -110,7 +110,7 @@
 #ifdef HAS_IXJ
   OpalLineInterfaceDevice *lid = NULL;
  
-  if (!strcmp (mixer, "/dev/phone0")) {
+  if (mixer && !strcmp (mixer, "/dev/phone0")) {
  
     unsigned vol;
     if ((MyApp) && (MyApp->Endpoint ()))



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to