[Home]

Summary:ASTERISK-02173: Fix for bug #2200 doesn't check for dynamic_pin being null pointer
Reporter:Tony Mountifield (softins)Labels:
Date Opened:2004-08-02 04:47:18Date Closed:2008-01-15 15:04:30.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The following one-line change is required to avoid a core dump:

diff -u -r1.54 app_meetme.c
--- apps/app_meetme.c   2 Aug 2004 02:58:15 -0000       1.54
+++ apps/app_meetme.c   2 Aug 2004 09:29:43 -0000
@@ -1086,7 +1086,7 @@
               /* Correct for the user selecting 'D' instead of 'd' to have
                  someone join into a conference that has already been created
                  with a pin. */
-               if (dynamic_pin[0] == 'q')
+               if (dynamic_pin && dynamic_pin[0] == 'q')
                       dynamic_pin[0] = '\0';
       }
       return cnf;
Comments:By: Digium Subversion (svnbot) 2008-01-15 15:04:30.000-0600

Repository: asterisk
Revision: 3570

U   trunk/apps/app_meetme.c

------------------------------------------------------------------------
r3570 | markster | 2008-01-15 15:04:29 -0600 (Tue, 15 Jan 2008) | 2 lines

dynamic_pin can be NULL (bug ASTERISK-2173)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3570