[asterisk-bugs] [Asterisk 0010979]: [path] main/util.c missed *dst='\0'; in ast_base64decode()

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 25 18:55:25 CDT 2009


The following issue has been set as RELATED TO issue 0015271. 
====================================================================== 
https://issues.asterisk.org/view.php?id=10979 
====================================================================== 
Reported By:                ys
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10979
Category:                   Core/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.13  
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2007-10-15 06:14 CDT
Last Modified:              2009-08-25 18:55 CDT
====================================================================== 
Summary:                    [path] main/util.c missed *dst='\0'; in
ast_base64decode()
Description: 

I fount, that ast_base64decode() don't return NULL terminated string.
This can produce surprising result in returned string..

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011018 patch for 10979 breaks IAX RSA auth
related to          0015271 [patch] BASE64_DECODE() adds garbage en...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-25 18:55 snuffy         Relationship added       related to 0015271  
======================================================================




More information about the asterisk-bugs mailing list