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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 15 06:23:21 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10979 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10979
Category:                   Core-General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-15-2007 06:14 CDT
Last Modified:              10-15-2007 06:23 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..

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

---------------------------------------------------------------------- 
 ys - 10-15-07 06:23  
---------------------------------------------------------------------- 
This is also true for trunk. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-15-07 06:23  ys             Note Added: 0071958                          
======================================================================




More information about the asterisk-bugs mailing list