[asterisk-bugs] [Asterisk 0017590]: [patch] Crash when freeing buffer in update_curl

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 29 16:08:13 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17590 
====================================================================== 
Reported By:                atis
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17590
Category:                   Resources/res_config_curl
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     closed
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1822 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-07-06 08:54 CDT
Last Modified:              2010-07-29 16:08 CDT
====================================================================== 
Summary:                    [patch] Crash when freeing buffer in update_curl
Description: 
free(buffer) causes crash with signal 6 Aborted.

HTTP message is clearly wrong, as it contains PHP error, but this
shouldn't crash asterisk.

        bufsize = 100
        buffer = 0x937c060 "1<br />\n<b>Fatal error</b>:  Call to
undefined function ast_sip_prune_rt() in <b>/opt/voip/web/curl_"
        __PRETTY_FUNCTION__ = "update_curl"

====================================================================== 

---------------------------------------------------------------------- 
 (0125331) svnbot (reporter) - 2010-07-29 16:08
 https://issues.asterisk.org/view.php?id=17590#c125331 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 280558

_U  branches/1.8/

------------------------------------------------------------------------
r280558 | tilghman | 2010-07-29 16:08:12 -0500 (Thu, 29 Jul 2010) | 13
lines

Blocked revisions 280556 via svnmerge

........
  r280556 | tilghman | 2010-07-29 16:07:03 -0500 (Thu, 29 Jul 2010) | 7
lines
  
  Off-by-one error
  
  (closes issue https://issues.asterisk.org/view.php?id=17590)
   Reported by: atis
   Patches: 
         20100729__issue17590.diff.txt uploaded by tilghman (license 14)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-29 16:08 svnbot         Checkin                                      
2010-07-29 16:08 svnbot         Note Added: 0125331                          
======================================================================




More information about the asterisk-bugs mailing list