[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 07:27:31 CDT 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/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: assigned
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 07:27 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..
======================================================================
----------------------------------------------------------------------
svnbot - 10-15-07 07:27
----------------------------------------------------------------------
Repository: asterisk
Revision: 85543
U branches/1.4/main/utils.c
------------------------------------------------------------------------
r85543 | russell | 2007-10-15 07:27:28 -0500 (Mon, 15 Oct 2007) | 8 lines
Make sure that the base64 decoder returns a terminated string.
(closes issue http://bugs.digium.com/view.php?id=10979)
Reported by: ys
Patches:
util.c.diff uploaded by ys (license 281)
- small mods by me
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
10-15-07 07:27 svnbot Checkin
10-15-07 07:27 svnbot Note Added: 0071961
10-15-07 07:27 svnbot Status new => assigned
10-15-07 07:27 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list