Summary: | ASTERISK-04767: Previous patch for bug #4882 (Solaris vasprintf issues) freed a pointer before use | ||
Reporter: | drach (drach) | Labels: | |
Date Opened: | 2005-08-03 09:57:13 | Date Closed: | 2008-01-15 15:43:33.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) vasprintf.patch | |
Description: | In the previous patch for issue ASTERISK-4759 a pointer was freed in vasprintf (utils.c) before it was used and then subsequently freed. The test case worked because, apparently, no new memory was requested before pointer was used. ****** ADDITIONAL INFORMATION ****** Occurs in utils.c rev 1.62 | ||
Comments: | By: Mark Spencer (markster) 2005-08-03 13:32:45 Fixed in CVS, sorry I missed that in the first one! By: Digium Subversion (svnbot) 2008-01-15 15:43:33.000-0600 Repository: asterisk Revision: 6271 U trunk/utils.c ------------------------------------------------------------------------ r6271 | markster | 2008-01-15 15:43:33 -0600 (Tue, 15 Jan 2008) | 2 lines Fix solaris vasprintf (don't free the memory, duh) (bug ASTERISK-4767) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6271 |