[Home]

Summary:ASTERISK-01132: [patch] Remove #1084 hack and fix the real bug!
Reporter:Mike Jagdis (mjagdis)Labels:
Date Opened:2004-03-02 07:17:57.000-0600Date Closed:2008-01-15 14:50:36.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20040303__cut_fix2.diff.txt
Description:Don't add an _extra_ memset! The real bug is that the existing memset with sizeof(tmp2) when tmp2 is a char * pointing to a buffer alloca'd with a fixed size.

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

Even better would be to remove the dumb alloca...
Comments:By: Tilghman Lesher (tilghman) 2004-03-03 13:01:41.000-0600

If you're going to complain about the alloca(), might as well fix it...

By: Mark Spencer (markster) 2004-04-12 12:06:24

Fixed in CVS.

By: Digium Subversion (svnbot) 2008-01-15 14:50:36.000-0600

Repository: asterisk
Revision: 2676

U   trunk/apps/app_cut.c

------------------------------------------------------------------------
r2676 | markster | 2008-01-15 14:50:35 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix cut properly (bug ASTERISK-1132)

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

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