[Home]

Summary:ASTERISK-03252: [patch] Uninitialized string used in app_privacy
Reporter:robf (robf)Labels:
Date Opened:2005-01-11 11:22:16.000-0600Date Closed:2008-01-15 15:21:11.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:There is an uninitialized string used in app_privacy.c, resulting in debug output like this:

   -- Changed Caller*ID to qÇ@/k

Simple patch included under 'Additional Information'

****** ADDITIONAL INFORMATION ******

Index: app_privacy.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_privacy.c,v
retrieving revision 1.10
diff -r1.10 app_privacy.c
68d67
<       char new_cid[144];
141c140
<                               ast_verbose (VERBOSE_PREFIX_3 "Changed Caller*ID to %s\n",new_cid);
---
>                               ast_verbose (VERBOSE_PREFIX_3 "Changed Caller*ID to %s\n", phone);
Comments:By: Mark Spencer (markster) 2005-01-11 11:31:04.000-0600

Fixed in CVS head.

By: Russell Bryant (russell) 2005-01-12 22:59:00.000-0600

shouldn't be a problem in 1.0 ...

By: Digium Subversion (svnbot) 2008-01-15 15:21:11.000-0600

Repository: asterisk
Revision: 4757

U   trunk/apps/app_privacy.c

------------------------------------------------------------------------
r4757 | markster | 2008-01-15 15:21:11 -0600 (Tue, 15 Jan 2008) | 2 lines

Remove unused variable (bug ASTERISK-3252)

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

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